Polymorphism comes from the Greek word polýmorphos, meaning “multiform”.

There are two types of polymorphism in Java, static and dynamic.

Static Polymorphism

Dynamic Polymorphism