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

what type of question are asked in thoughtworks pair programming round ?

1960


Advantage and disadvantage of routing in telecom sector

1017


Why do we use class?

811


What is polymorphism what is it for and how is it used?

766


Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.

1967


What are the benefits of interface?

797


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

1375


• What are the desirable attributes for memory managment?

1943


can inline function declare in private part of class?

3964


What is the fundamental idea of oop?

856


State what is encapsulation and friend function?

936


What does sksksk mean in text slang?

1835


What is polymorphism programming?

843


What is object and class in oops?

777


what are the ways in which a constructors can be called?

1794