1.

We can use the static member functions and static data member __________________(a) Even if class object is not created(b) Even if class is not defined(c) Even if class doesn’t contain any static member(d) Even if class doesn’t have complete definition

Answer» Correct option is (a) Even if class object is not created

Explanation: The static members are property of class as a whole. There is no need of specific objects to call static members. Those can be called directly or with class name.


Discussion

No Comment Found

Related InterviewSolutions