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 |
What is the importance of oop?
What is this pointer in oop?
What do you mean by inline function?
Why do we need polymorphism in c#?
what isthe difference between c structure and c++ class
which are the 4 members functions in c++ objects that can either be declared explicitly by programmer or implementation if nt available.
what is the use of mutable key word
How oops is better than procedural?
What does and I oop and sksksk mean?
How to hide the base class functionality in Inheritance?
WHAT IS ABSTRUCT DATA TYPE ? PLEASE EXPLAIN IT.
How do you explain polymorphism?