Polymorphism is made of two parts: poly (multiple) and morph(form). According to Wikipedia.com, polymorphism is described as follows:
In programming languages and type theory, polymorphism is the provision of a single interface to entities of different types or the use of a single symbol to represent multiple different types.
To make it simpler:
In the world of OOP and objects, every single object that has more than one shape or can be assigned to more than one class is called a polymorphic object.
As a Java trainer, I continually come across various questions like “what is polymorphism exactly?” …