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 examples

Answer Posted / ashok kumar

polymorphism means many forms,greekword-poly-many fuction
overloding,fuction overloding,operator overloding.
ex->'+'
this opertor can be overloaded to add strings
(concatenation)or sets(union)and so on. functions also can
be overloaded as show in the next sectin.the
terms 'Overloading'and 'polymorphism' are used
interchangeablely.

Is This Answer Correct ?    10 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is persistence in oop?

1097


#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

2565


Where You Can Use Interface in your Project

1837


What is difference between abstraction and encapsulation?

1021


How do you answer polymorphism?

1010


What is polymorphism in oop example?

962


What is byval and byref? What are differences between them?

2153


what are the ways in which a constructors can be called?

2047


What is difference between inheritance and polymorphism?

978


Why is there no multiple inheritance?

956


What is data binding in oops?

1029


write a program to find 2 power of a 5digit number with out using big int and exponent ?

2326


What is abstract class in oop?

956


Is oop better than procedural?

980


What is the point of oop?

1107