What is virtual Function.
Answer / poonam
Virtual function is a function that uses keyword "virtual"
with the datatype of the function. When the base class as
well as the derived class contains a function both having
the same name, just to resolve ambiguity and copy of the
same data again and again we use the keyword "virtual"
preeceeding it. It is used to achieve poymorphism.
Is This Answer Correct ? | 7 Yes | 0 No |
Difference ways of Polymorphism?
What do you mean by inheritance?
What is destructor give example?
what is the realstic modeling?
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
what is object slicing?
How to use CMutex, CSemaphore in VC++ MFC
What are the data types in oop?
Can we create object of abstract class?
What does and I oop mean?
What are the advantanges of modularity
c++ is a purely oop concept?