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 difference between association aggregation and inheritance relationships?
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.