1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. Which of the following is true?
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 of the above
Answer» B. Objects of a class do not share non-static members. Every object has its own copy.
View all MCQs in:   CPP Programming

Discussion