A

Admin • 802.91K Points
Coach

Q. What is `super()` used for in Python OOP?

  • (A) To call constructor of same class
  • (B) To define a static method
  • (C) To call method from parent class
  • (D) To destroy an object
  • Correct Answer - Option(C)
  • Views: 7
  • Filed under category Python
  • Hashtags:

Explanation by: Admin
`super()` is used to access methods of the parent class from the child class.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.