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
class type to basic type conversion
Explain the advantages of inheritance.
Why do we use oops?
what is graphics
What is the difference between inheritance and polymorphism?
How oops is better than procedural?
What is object in oops?
What is the benefit of oop?
What are the types of abstraction?
What is difference between data abstraction and encapsulation?
What is polymorphism give a real life example?
What are properties in oop?
write a programe to calculate the simple intrest and compund intrest using by function overlading
What do you mean by Encapsulation?
why reinterpret cast is considered dangerous?