Object Oriented Programming -Week 5 Resources

Objectives:

  1. Recap: class diagrams
    • Class diagrams for analysing problems
    • Class diagrams for designing programs
  2. Understand overriding
    • Sub-classes have different behaviour
  3. Understand polymorphism
    • Programs that work for data of many types
  4. Consolidate understanding of inheritance and overriding using an extended example

Theory:

Programming:

Solutions:

Exam Questions: