OOPS Concepts

Q1: What is correct about the static data member of a class?

A Both A and B.

B A static data member is shared among all the object of the class.

C A static member function can access only static data members of a class.

D A static data member can be accessed directly from main().

ANS:D - Both A and B.

No answer description is available. Let's discuss.



img not found
img

For help Students Orientation
Mcqs Questions

One stop destination for examination, preparation, recruitment, and more. Specially designed online test to solve all your preparation worries. Go wherever you want to and practice whenever you want, using the online test platform.