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 types of polymorphism?

Answer Posted / mms zubeir

There are two types of polymorphism.
1. Adhoc polymorphism (Overloading, templates).
2. Parametric polymorphism(Overriding).

If the behaviors are finite and known before its usage, it
is adhoc polymorphism. These bindings are done at
compilation itself and hence called compile time binding.

If the behaviors are infinite and known only at run time at
the time of use, it is parametric polymorphism. These
binding can be mapped at run time only and hence sometimes
referred as run time binding.

Note:- Virtual mechanism is used to resolve conflicts in
overriding polymorphically. Virtual mechanism itself
doesn't provide any polymorphism rather the overriding
leads to run time polymorphism.

Is This Answer Correct ?    4 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is constructor c++?

1076


What are the two types of comments?

953


Is c++ an oop?

1041


What is the last index number in an array of 100 characters a) 100 b) 99 c) 101

1103


What relational operators if statements in c++?

1136


What is the difference between containment and delegation?

1266


What is insertion sorting?

1079


What is a static member?

1007


Please explain class & object in c++?

1062


What is the use of volatile variable?

1041


Can we make copy constructor private in c++?

1021


What is the history of c++?

1021


Which c++ compiler is best?

1117


What is a manipulator in c++?

1186


Refer to a name of class or function that is defined within a namespace?

1065