Polymorphism
Poly means many and morphism means form and this is a greek word.

In OOP function overloading and operating are example of polymorphism. Polymorphism means one name multiple form.

Note: Virtual function is also another example of polymorphism which we will teach you later.

Polymorphism is of two types i.e. static polymorphism or early binding and dynamic polymorphism or run time polymorphism.

Static Polymorphism
Function is associated with object during program compilation is known as static binding or static binding.

Ex: operator overloading and function overloading

Dynamic Polymorphism
Function is associated with object during program execution is known as late binding or dynamic binding.

Ex: Virtual Function

Share with : Share on Linkedin Share on Twitter Share on WhatsApp Share on Facebook