Aggregation is “a part of” relationship . Example: A student object is a part of College object. Inheritance is a “is a “relationship where one or more classes are derived from a base class.
What is the relationship between aggregation and inheritance relationship?
Aggregation is “a part of” relationship . Example: A student object is a part of College object. Inheritance is a “is a “relationship where one or more classes are derived from a base class.