3.1 Summary
- Classes can be used as attributes in another class.
- The relationship between two classes can be classified in various ways.
See also Three ways to give a Circle a centre (constructor parameters versus stored attributes, and UML association versus composition).