Chapter

Composition

From ComputerScienceOne by Dr Chris Bourke

Concepts

  1. How does composition allow objects to own instances of other objects?

    "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.

Composition | ComputerScienceOne | Bifalgorithm | Bifalgorithm