Python Programming - Polymorphism - Discussion

Discussion Forum : Polymorphism - General Questions (Q.No. 51)
51.
How does Python achieve polymorphism through "method overloading"?
By allowing a function to take different types of arguments
By automatically resolving conflicts using the first defined method
By using the C3 linearization algorithm to determine method resolution order
By allowing a function to be defined with the same name but different parameters
Answer: Option
Explanation:
Polymorphism through method overloading in Python involves allowing a function to be defined with the same name but different parameters.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.