Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is polymorphism? Explain with an example.

Answer Posted / p suresh kumar

Single interface & multiple method is called polymorphism.
Ex:
Function overloading (Static polymorphism / early binding).
Function overriding (dynamic polymorphism / late binding).

Is This Answer Correct ?    166 Yes 54 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

2608


Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer

2153


What is the purpose of enum?

1011


What are the advantages of polymorphism?

1031


What is the point of oop?

1190


What is the purpose of polymorphism?

1126


How Do you Code Composition and Aggregation in C++ ?

25471


Write a c++ program to display pass and fail for three student using static member function

3398


How does polymorphism work?

1140


What are the benefits of polymorphism?

1275


What is an interface in oop?

1048


What are the 5 oop principles?

1125


Which method cannot be overridden?

1093


Why is encapsulation used?

992


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6678