What is Polymorphism ? What kinds ?

What is Polymorphism ? What kinds ?

ramvart
Views: 162 | Community Opinion: 1

Tags..  java polymorphism

Bookmark this page..



Ask a New Question Go to Home

Community Opinion/Answers
 
Dev Said..

polymorphism is a feature of OPP's. polymorphism is to use an identifier more than one porpuse. by using polymorphism feature we can define more than one function to perform different task. There are two types. static and dynamic
for Exp
public void add();
public void add(int,int);
public void add(int,int,int);
public void add(float,float);

we can define these different function's definition also different and can call according to differen use.






What do you think? Add your opinion/answer
*Name
*your opinion/answer: