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 is oops with example?
Is react oop?
How do you achieve polymorphism?
What is the diamond problem in inheritance?
Which language is pure oop?
What are different oops concepts?
what is difference between class template and template class?
What is overloading and its types?
Why interface is used?
What does and I oop and sksksk mean?
Is this job good for future? can do this job post grduate student?
Where is pseudocode used?
How do you answer polymorphism?
What is oops in simple words?
write knight tour problem which is present in datastructure