Answer Posted / 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 |
Post New Answer View All Answers
Can destructor be overloaded?
Why do we use polymorphism in oops?
What are two types of polymorphism?
Is react oop?
What is destructor give example?
What is abstract class in oop?
What is coupling in oops?
Why we use classes in oop?
Is this job good for future? can do this job post grduate student?
What does no cap mean?
Can abstract class have normal methods?
can we make game by using c
What are functions in oop?
Can you inherit a private class?
What is constructor overloading in oop?