Abstract
Many objects can be seen as being made up of smaller objects. For example, a clock is made up of a number of components that together combine to make the whole object. The combination of objects may exist in many layers, with a larger component (such as the mechanism) being itself made up of a collection of smaller components. Figure 7.1 shows a clock as a combination of component parts.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag London Limited
About this chapter
Cite this chapter
Parsons, D. (2012). Objects Working Together: Association, Aggregation, and Composition. In: Foundational Java. Springer, London. https://doi.org/10.1007/978-1-4471-2479-5_7
Download citation
DOI: https://doi.org/10.1007/978-1-4471-2479-5_7
Published:
Publisher Name: Springer, London
Print ISBN: 978-1-4471-2478-8
Online ISBN: 978-1-4471-2479-5
eBook Packages: Computer ScienceComputer Science (R0)