Skip to content

4. Composition

Learning objectives

  • how to compose a new class from existing classes using Composition
  • know when to use composition over inheritance