Polymorphism in Java
Polymorphism in java is a programming concept by which we can perform a single action in different-different ways. Polymorphism is combination of two greek words: poly and morphs. “poly” means many and “morphs” means forms, So polymorphism means many forms.
What is polymorphism and types of polymorphism in Java?
- Compile time polymorphism
- Runtime polymorphism
How we can perform polymorphism in JAVA
We can perform polymorphism in java by method overloading and method overriding.
Process of overload static method in java, it is the example of compile time polymorphism.
Polymorphism in java Example with video tutorial
Refer
Comment here