GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Tech FAQs  >  OOPS
Go To First  |  Previous Question  |  Next Question 
 OOPS  |  Question 57 of 258    Print  
What is Polymorphism?

  
Total Answers and Comments: 3 Last Update: August 11, 2008   
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
August 17, 2005 05:13:35   #1  
saradha        

RE: What is Polymorphism?
taking more than one form is called polymorhism.
eg: operator overloading.

 
Is this answer useful? Yes | No
October 16, 2005 01:58:09   #2  
SHAKTI KUMAR        

RE: What is Polymorphism?
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..
 
Is this answer useful? Yes | No
August 11, 2008 11:31:10   #3  
whenkeys Member Since: August 2008   Contribution: 4    

RE: What is Polymorphism?
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.

 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape