Vidyalelo
Python · Q48

Formatting and Decorators

Programming · Python · question 48

Q48

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
Answer
C.
Access instance methods
D.
Define class variables

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board