Composition and Aggregation are almost the same
composition the contained objects do not exist independently in case of the above example the Heart cannot exist without the person.
Aggregation the contained objects can exist independently like
Money exists without a person.
Composition Vs Aggregation
Labels: Design Patterns
Search 24 Bytes