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. |
Login to Continue
It will take less than 2 minutes