Q. Which of the following is true? (Solved)
1. All objects of a class share all data members of class
2. Objects of a class do not share non-static members. Every object has its own copy.
3. Objects of a class do not share codes of non-static methods, they have their own copy
4. None of the above
- b. Objects of a class do not share non-static members. Every object has its own copy.