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 these
πŸ’¬ Discuss
βœ… Correct Answer: (B) Objects of a class do not share non-static members. Every object has its own copy.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
269
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
89%
Success Rate