Q. The 'super' keyword is used to ___.

  • (A) Access instance of the parent class
  • (B) Access instance of the same class
  • (C) Access instance of child class
  • (D) Access instance of friend class
πŸ’¬ Discuss
βœ… Correct Answer: (A) Access instance of the parent class
Explanation: The 'super' keyword refers to superclass (parent) objects. It is used to call superclass methods, and to access the superclass constructor.
Explanation by: Team MCQ Buddy
The 'super' keyword refers to superclass (parent) objects. It is used to call superclass methods, and to access the superclass constructor.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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