⟩ Explain what is the role of protected access specifier?
If a class member is protected then it is accessible in the inherited class. However, outside the both the private and protected members are not accessible.
If a class member is protected then it is accessible in the inherited class. However, outside the both the private and protected members are not accessible.
Explain the uses of static class data?
What is static variable?
Explain dynamic type checking?
What is local class in C++?
What is reference variable in C++?
Explain static type checking?
Static variable in a class is initialized when a. every object of the class is created b. last object of the class is created c. first object of the class is created d. No need to initialize static variable
Explain what are volatile variables?
What is static class data?
Static variable must be declared in public section of the class. a. True b. False