Polymorphism in java Example with video tutorial

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?

  1. Compile time polymorphism
  2. 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


Comment here

This site uses Akismet to reduce spam. Learn how your comment data is processed.