Examveda

In Python, what is the primary use of the super() function in a subclass constructor?

A. Call a method in the parent class

B. Initialize superclass

C. Access instance methods

D. Define class variables

Answer: Option B


This Question Belongs to Python Program >> Formatting And Decorators

Join The Discussion

Related Questions on Formatting and Decorators