Computer Science, asked by aranmossis, 7 months ago

with the help of an example explain the concept of polymorphism​

Answers

Answered by Anonymous
2

Answer:

An important example of polymorphism is how a parent class refers to a child class object. In fact, any object that satisfies more than one IS-A relationship is polymorphic in nature. For instance, let's consider a class Animal and let Cat be a subclass of Animal . So, any cat IS animal

Answered by bharatjha01
0

Answer:

An important example of polymorphism is how a parent class refers to a child class object. In fact, any object that satisfies more than one IS-A relationship is polymorphic in nature. For instance, let's consider a class Animal and let Cat be a subclass of Animal . So, any cat IS animal.

Similar questions