Python Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 62)
62.
In Python, what is the purpose of the super() function?
To define class attributes
To create a new instance of the class
To access superclass methods and attributes
To access subclass methods and attributes
Answer: Option
Explanation:
The super() function is used to access methods and attributes of the superclass in Python.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.