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 are the different forms of polymorphism??

Answer Posted / mms zubeir

Though there are many answers which are all true to some
extent, I would like to conclude all these into two broad
categories:

1. Ad-hoc polymorphism
2. Parametric polymorphism

As the meaning of the names themselves suggests their usage.

If the range of actual types that can be used is finite
and the combinations must be specified individually prior
to use, it is called Ad-hoc polymorphism.

If all code is written without mention of any specific type
and thus can be used transparently with any number of new
types, it is called parametric polymorphism.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of polymorphism?

1037


What is difference between pop and oop?

1176


What is encapsulation c#?

1091


What is property in oops?

1073


What is balance factor?

1091


Can static class have constructor?

1039


Give an example where we have to specifically use C programming language and C++ programming language cannot be used?

1644


What are the benefits of oop?

1266


What is constructor in oop?

1122


What is interface? When and where is it used?

2172


Write a java applet that computes and displays the squares of values between 25 and 1 inclusive and displays them in a TextArea box

2626


What is the point of polymorphism?

1040


What is difference between multiple inheritance and multilevel inheritance?

1155


what's the basic's in dot net

2193


any one please tell me the purpose of operator overloading

2401