Polymorphism is considered as an object’s ability so that it could take on various forms. It is most commonly used in OOP where parent class reference usually refers the child class objects.
Any java object that can pass more than one IS-A test is considered to be polymorphic. In Java, all java objects are polymorphic since any object will pass the IS-A test for their own type and for the class Object.
It shall be known that objects are access by one single way and that is
It allows using objects of different types by using or calling object of only one type. This concept is called polymorphism. It will automatically call the method of desired object. It is also referred as “bottom up” method call. It helps you to add new classes of derived objects without major changes in code and breaking the code call sequence.
Below image explains the concept of polymorphism. Send a message to a method without knowing its type. It is also known an dynamic binding