Python Programming - Inheritance - Discussion

Discussion Forum : Inheritance - General Questions (Q.No. 2)
2.
What is method overriding?
Creating a new method in the subclass
Modifying the implementation of a method in the subclass
Calling a method of the superclass
Creating a new instance of the subclass
Answer: Option
Explanation:
Method overriding in Python involves redefining a method in the subclass with the same name and parameters as in the superclass, thereby providing a new implementation.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.