- An aggregation is formed when an object contains one or more other objects
- An example might be a computer system which contains a CPU object a hard disk object a keyboard object etc
- One special form of aggregation is referred to as composition
- Composition is found where the components of an object only exist within the one composite object
- For example a finger belong to just one hand. Therefore it can be said that the hand finger relationship is a composite relationship
No comments:
Post a Comment