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...

Polymorphism with an example?

Answer Posted / vivin

It means ability to take more than 1 form.

(ex)consider the operation of addition,

For 2 numbers it will generate sum{2 + 3 = 5} then
for 2 strings it will concatenate (vivin + durai = vivindurai)

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of abstraction?

1072


what is the sylabus for priliminaries?

2175


What is object-oriented programming? Webopedia definition

1256


What is abstraction in oop?

1134


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?

3517


What is balance factor?

1078


what is the drawback of classical methods in oops?

3380


What is the difference between encapsulation and polymorphism?

1102


Why oops is important?

1113


When not to use object oriented programming?

1100


which feature are not hold visual basic of oop?

2191


What is protected in oop?

1069


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

2386


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

2148


How do you achieve runtime polymorphism?

1047