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?

Answers were Sorted based on User's Feedback



What are the different types of polymorphism?..

Answer / dee

compile time--->operator and function overlaoding
run time --->virtual

Is This Answer Correct ?    8 Yes 3 No

What are the different types of polymorphism?..

Answer / 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

What are the different types of polymorphism?..

Answer / uio

there are two types of palymorphism
1.operator overloading
2.function overloading

Is This Answer Correct ?    2 Yes 6 No

Post New Answer

More C++ General Interview Questions

What are the different operators in C++?

3 Answers   HP,


What is a far pointer? where we use it?

0 Answers  


What does std mean in c++?

0 Answers  


How do you invoke a base member function from a derived class in which you have not overridden that function?

0 Answers  


Is empty stack c++?

0 Answers  


Write a String class which has: 1) default constructor 2) copy constructor 3) destructor 4) equality operator similar to strcmp 5) constructor which takes a character array parameter 6) stream << operator

2 Answers   HCL, Lehman Brothers, Zoomerang,


Mention the ways in which parameterized can be invoked. Give an example of each.

0 Answers  


What are the advantages of prototyping?

0 Answers  


why we cant create array of refrences

4 Answers  


How do I download c++?

0 Answers  


What is the basic difference between C and C++?

0 Answers   NIIT,


What is a built-in function?

1 Answers  


Categories