Q. In Java, what is the purpose of the "super" keyword in a constructor?

  • (A) To call the superclass constructor
  • (B) To create a new object
  • (C) To access a static method
  • (D) To indicate a private method
πŸ’¬ Discuss
βœ… Correct Answer: (A) To call the superclass constructor

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
109
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Pooja
Publisher
πŸ“ˆ
98%
Success Rate