What does aggregation mean in OO? Give an example.


What does aggregation mean in OO? Give an example.


Answer: Aggregation is a “part-of” association. For example, student is a part of a class.