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

Why do we use inheritance?

1147


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

2118


What is inheritance in simple words?

1068


Why it is called runtime polymorphism?

1153


What is the fundamental idea of oop?

1149


What is variable example?

1047


Which is better struts or spring?

1071


Why do we use class in oops?

980


What are the benefits of oop?

1275


What is data binding in oops?

1111


Is react oop?

1077


Why is static class not inherited?

1121


Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)

4164


What is class encapsulation?

1111


What is the main feature of oop?

1161