2079 7

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...

Up nextDefine stream. How do you read the text from file? Describe.