What is Polymorphism?

Showing Answers 1 - 3 of 3 Answers

saradha

  • Aug 17th, 2005
 

taking more than one form is called polymorhism. 
eg: operator overloading.

  Was this answer useful?  Yes

SHAKTI KUMAR

  • Oct 16th, 2005
 

A property by which we can send the same masage to objects of serval diffrent class and each object can response in a diffrent way depending on its class..

  Was this answer useful?  Yes

whenkeys

  • Aug 11th, 2008
 

Poly [many] morph [form] as the name says many forms is supported. Two types of Polymorphism are operator overloading and function overloading.
operator overloading => +operator can be implemented to add numbers or string or even if one wishes to subtract [only for this class of course].
function overloading  => tryOverload(int a, int b) and also have tryOverload(). If you pass no parameter the second method is invoked if u pass two integer parameter you would invoke first method.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions