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
What are functions in oop?
why reinterpret cast is considered dangerous?
What is the types of inheritance?
What exactly is polymorphism?
What is use of overloading?
What is encapsulation c#?
#include
What is oops in simple words?
Is enum a class?
i got a backdoor offer in process global,Bangalore..Can i work with it?
Why is polymorphism used?
what is different between oops and c++
can we make game by using c
What is overriding in oop?
What is constructor in oop?