KnowledgeBoat Logo

Computer Applications

Define the following with an example each:

Polymorphism

OOP Intro Java

51 Likes

Answer

Polymorphism is the process of using a function for carrying multiple operations. During this process, an object may include a function for multiple operations.

As an example, if we ask different animals to speak, they respond in their own way. Dog will bark, duck will quack, cat will say meow and so on. So, the same action of speaking is performed in different ways by different animals. This is the concept of Polymorphism.

Answered By

33 Likes


Related Questions