Saturday, February 14, 2009

Aggregation vs Composition

Aggregation is a whole/part association where a client object contains one or more server objects, but the client object can be defined with or without the creation of the server object. For instance, a car can contain golf clubs in its back trunk but the car is still a car with or without the golf clubs.

Read the rest at: