0
What is the use of polymorphism?
2 Answers
+ 1
polymorphism is used to extend common methods to smaller use cases. Dogs are a great example of it. you would have a dog class with all the common dog attributes. then you could extend it with a labrador subclass.
0
it means to use a function for more than one purpose. internal structure will be differ with respect to object but the external interface will be same



