Q.

Which of the following is true?

A. all objects of a class share all data members of class
B. objects of a class do not share non-static members. every object has its own copy
C. objects of a class do not share codes of non-static methods, they have their own copy
D. none
Answer» B. objects of a class do not share non-static members. every object has its own copy
1.8k
0
Do you find this helpful?
10

Discussion

No comments yet