Objectives:
- Recap: class diagrams
- Class diagrams for analysing problems
- Class diagrams for designing programs
- Understand overriding
- Sub-classes have different behaviour
- Understand polymorphism
- Programs that work for data of many types
- Consolidate understanding of inheritance and overriding using an extended example
Theory:
Programming:
Solutions:
- Week 4:
- Week 5:
Exam Questions: