what is virtual function?
Answer Posted / ori
(this answer is more - a "use of virtual function")
One Important use of virtual function is - Aggregation of
object related to derivation class hirarcy, in to an other
class , by defining a pointer to the base class (of
hirarchy) as one of the member objects of the other class.
| Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
What is cohesion in oop?
What are benefits of oop?
How do you achieve runtime polymorphism?
What is byval and byref? What are differences between them?
c++ program to swap the objects of two different classes
What is difference between inheritance and polymorphism?
What is property in oops?
What do you mean by variable?
What is super in oop?
How is polymorphism achieved?
What is the difference between a mixin and inheritance?
#include
What is object in oop with example?
What is polymorphism explain?
explain sub-type and sub class? atleast u have differ it into 4 points?