Polymorphism in Java – Method Overloading and Overriding

Polymorphism is the ability to take more than one form. Polymorphism is one of the most important concept in OOPS ( Object Oriented Programming Concepts). Subclasses of a class can define their own unique behaviors and yet share some of the same functionality of the parent class.

In Java, there are 2 ways by which you can achieve polymorphic behavior

1. Method Overloading

2. Method Overriding [Read more…]