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 is Dynamic Polymorphism?

Answer Posted / d n gavade

There are two type of polymorphism i.e.
static(compiplation time) and
Dynamic Polymorphism(Run Time).
In case of Static,
derived class,Base class have same funcion name,the base
class function will be called.
In Case of Dynamic Polymorphism,we can use virtual keyword
in base class function and passing reference of derived
class to the base class pointer, we can call the derived
class function which is override.

Is This Answer Correct ?    30 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we create object of abstract class?

1088


Why interface is used?

1015


How does polymorphism work?

1128


Why it is called runtime polymorphism?

1131


What is oops and why we use oops?

1040


What is difference between oop and pop?

1162


What is polymorphism oop?

1055


What is inheritance in oop?

1033


How can you overcome the diamond problem in inheritance?

1179


Can destructor be overloaded?

1030


How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction

2137


IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?

2066


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

1633


What is polymorphism and why is it important?

1040


Can we have inheritance without polymorphism?

1022