Polymorphism in java:
An object of a sub class can be used whenever its super class object is required.
This is commonly known as polymorphism.
In simple terms polymorphism means that a variable of super type can refer to a sub type object.
We already discussed all three topics mentioned above.
Click on topic for more detail.