C++ Implementation, simple association, composition, aggregation
1. Simple Association:
It can be implemented by sending messages from one object to another as this type of association does not involve any type of containment.
Composition is achieved by adding declaration of object of one class in other object.
Aggregation is implemented by placing the reference (pointer array) of the aggregating class objects in the class where they are aggregated.
Last updated: March 19, 2014