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 is polymorphism explain?

675


What is the point of oop?

642


Write a program to reverse a string using recursive function?

1784


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1645


What is the use of oops?

612






Can you explain polymorphism?

576


What is coupling in oops?

587


What is encapsulation c#?

596


What are the benefits of oop?

598


What is a class in oop?

593


What causes polymorphism?

563


is there any choice in opting subjects like 4 out of 7

1723


what is different between oops and c++

1992


What is the importance of oop?

602


What is difference between inheritance and polymorphism?

557