The reason why you use polymorphism is when you build generic frameworks that take a whole bunch of different objects with the same interface. When you create a new type of object, you don't need to change the framework to accommodate the new object type, as long as it follows the "rules" of the object.
Can we use polymorphism?
The most common use of polymorphism in OOP occurs when a parent class reference is used to refer to a child class object. Any Java object that can pass more than one IS-A test is considered to be polymorphic. ... It is important to know that the only possible way to access an object is through a reference variable.
Is polymorphism good or bad?
The frequency of DNA sequence variation and its effect on protein products determines the change as polymorphism or mutation. ... Polymorphisms are commonly not harmful; otherwise they wouldn't be able to persist in the population.