R

Ram Sharma • 3.40K Points
Extraordinary

Q. What happens when `super()` is used?

  • (A) It calls the grandparent class
  • (B) It calls the current class
  • (C) It calls the immediate superclass method
  • (D) It calls a static method
  • Correct Answer - Option(C)
  • Views: 3
  • Filed under category Python
  • Hashtags:

Explanation by: Ram Sharma
`super()` refers to the parent class and allows access to its methods.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.