What is polymorphism in Python?
Correct answer
A. Different classes providing the same interface with different behaviour
5 views
A. Different classes providing the same interface with different behaviour
5 views
Polymorphism lets different types respond to the same method call in their own way.
Asked in: Python Interview OOP
https://docs.python.org/3/tutorial/classes.htmlNot sure why the answer is A? Ask here and get an explanation.