1.

How many copies of a class static member are shared between objects of the class?

A. A copy of the static member is shared by all objects of a class
B. A copy is created only when at least one object is created from that class
C. A copy of the static member is created for each instantiation of the class
D. No memory is allocated for static members of a class
Answer» B. A copy is created only when at least one object is created from that class


Discussion

No Comment Found