Types of Polymorphism
- Static Polymorphism
- Method overloading
- It uses the concept of compile time binding
- Method is invoked based on the reference type
- Dynamic Polymorphism
- Method overriding
- It uses the concept of late binding or runtime binding
- Method is invoked based on the object type
The words compile time and static , and similarly runtime and dynamic are interchangeably used in the context of Polymorphism and binding

浙公网安备 33010602011771号