what is virtual function?
Answer Posted / manab
When derived class overrides the base class method by
redefining the same function, then if client wants to
access redefined the method from derived class through a
pointer from base class object, then you must define this
function in base class as virtual function.
| Is This Answer Correct ? | 68 Yes | 7 No |
Post New Answer View All Answers
What does sksksk mean in text slang?
is there any choice in opting subjects like 4 out of 7
Is react oop?
Get me a number puzzle game-program
Describe these concepts: Polymorphism, Inheritance and Abstraction.
Why do we use oops?
Is oop better than procedural?
What causes polymorphism?
What is abstraction in oop with example?
Why we use classes in oop?
What are the 4 pillars of oop?
What is a function in oop?
What is the difference between encapsulation and polymorphism?
What is polymorphism oop?
What is super in oop?