Chapter
Common Methods
From ComputerScienceOne by Dr Chris Bourke
Concepts
- What is composition in object-oriented class design?
"Another important concept when designing classes is composition. Composition is a mechanism by which an object is made up of other objects. One object is said to “own” an instance of another object.