Python Programming - Polymorphism - Discussion

Discussion Forum : Polymorphism - General Questions (Q.No. 71)
71.
How does Python achieve polymorphism through "method overloading"?
By explicitly specifying data types for objects
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.