Polymorphism
- 28th Sep 2017
- 3
- 15731
- polymorphism in java with an example significance of polymorphism types of polymorphism why do we need polymorphism in java
Polymorphism is the concept where an object behaves differently in different situations Since the object takes multiple forms, it is called Polymorphism. Types of Polymorphism Static Polymorphism (compile time polymorphism/ Method overloading): Method Overloading In a class,if we have multiple methods with same name but different in parameters then it is called Method overloading. Whenever […]