Python Programming - Polymorphism - Discussion

Discussion Forum : Polymorphism - General Questions (Q.No. 25)
25.
In Python, what is method overloading?
Defining multiple methods with the same name but different parameters in a class
Defining a method with the same name but different return types in a class
Overriding a method in a subclass with the same name as in the superclass
Defining a method with the same name in a class
Answer: Option
Explanation:
Method overloading in Python involves defining multiple methods with the same name but different parameters in a class.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.