Lesson 21: Taking after one's parent

Outline:

  1. Recap of key parameter for <list>.sort()
  2. Mini-quiz
  3. Another recap of list methods
  4. Features of object-oriented design
    • encapsulation
    • polymorphism
    • inheritance
  5. Inheritance
    • parent and child classes (aka superclasses and subclasses)
    • Exercise 1

Reading assignment (to be completed by the next class):

  • Zelle chapter 12 (pp. 419-456) - especially sec. 12.4-12.5 (pp. 451-456)