Computer Science
Define Polymorphism with real world examples:
Objects & Classes
6 Likes
Answer
In object-oriented programming, Polymorphism provides the means to perform a single action in multiple different ways. Taking the real world example of animals, if we ask different animals to speak, they respond in their own way. Dog barks, duck quacks, cat says meow and so on. So the same action of speaking is performed in different ways by different animals.
Answered By
2 Likes