Object Oriented Programming20795 marksAggregation versus inheritance
Differentiate between aggregation and inheritance. Why do we need virtual base class?
Differentiate between aggregation and inheritance. Why do we need virtual base class? [5]
--- Feature Aggregation Inheritance --------- Relationship "Has-a" relationship "Is-a" relationship Nature One class contains an object of another class as a member One class derives properties and behaviors from another class Code Reuse Achieved by using objects of existing classes Achieved by e...