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 / dharmendra rai

The concept of polymorphism can be explained as "one interface, multiple methods".

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is object-oriented programming? Webopedia definition

1255


What is encapsulation example?

1050


Which language is pure oop?

990


What is constructor overloading in oop?

1132


hi all..i want to know oops concepts clearly can any1 explain??

2123


Explain the concepts involved in Object Oriented programming.

1220


What are the benefits of polymorphism?

1264


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2614


How is polymorphism achieved?

1055


Which is better struts or spring?

1050


Why do we need polymorphism in c#?

1161


Can private class be inherited?

1166


Why do we use encapsulation in oops?

1028


What is balance factor?

1076


Can we have inheritance without polymorphism?

1021