Learning objectives

Identify suitable classes, private properties and methods from a short scenario, keeping only details the task uses

Decide between inheritance (is-a) and containment (has-a) and justify the choice with both test sentences

Write classes in pseudocode with a constructor and a short driver program, and trace the output including shared object references

Use private properties with public methods to protect an object's data

Continue with a revision plan

These learning objectives are available to everyone. Sign in with an eligible plan to read the full note and worked examples.