Polymorphism in Java
Overview
Polymorphism is a task that can perform single action in multiple ways.
Types of Polymorphism
- Method Overloading - Using the same method with different type of parameters.
- Method Overriding - Using the same method which you inherited from your base class.
Comments
Post a Comment