Polymorphism

Polymorphism means one thing but several forms. There are two types of polymorphism in java.
1.Compile time
2.Run time.

1.Compile time polymorphism also known as static binding.Here we bind the proper member with the object at compile time.

2.Run time polymorphism also known as dynamic binding.Here we bind the proper member with the object at run time.

Read about Method Overriding or runtime polymorphism,

https://smoothknowledge.com/2017/10/23/method-overriding/

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

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