JAVA Syntax Terms Polymorphism

 

- Info:

- Polymorphism is capability of having multiple methods with the same name but different behaviour.

- There are three types of polymorphism: Overloading, overriding and dynamic method binding.

- Overloaded methods have the same name but different number or type of parameters.

- Overridden methods have the same signature but are redefined within class that extends.

 

- Example:

- Create JAVA Console Application Test.java

 

Test.java