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 / amrutha

In greek Poly means 'many' and 'morph' means form.
the best example for polymorphism is Chameleon which exbits
different colors based on situation.

Is This Answer Correct ?    50 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is overloading in oop?

998


What is the highest level of cohesion?

1037


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

2538


What is protected in oop?

1062


i got a backdoor offer in process global,Bangalore..Can i work with it?

2834


Can you explain polymorphism?

1101


• What are the desirable attributes for memory managment?

2218


write a program that takes input in digits and display the result in words from 1 to 1000

2409


What is object and class in oops?

1052


if i have same function with same number of argument but defined in different files. Now i am adding these two files in a third file and calling this function . which will get called and wht decide the precedence?

3507


Can private class be inherited?

1164


What is the difference between encapsulation and polymorphism?

1100


class type to basic type conversion

2397


What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?

2524


to find out the minimum of two integer number of two different classes using friend function

2122