Lesson 4: Object-Oriented Design

Outline:

  1. Questions?
  2. Quiz #1
  3. Kotlin constructors, revisited
    • primary constructors and init block
    • default parameter values
  4. Inheritance
  5. Wrap-up

What’s next

Upcoming assignments:

  • Assignment 1 is due this Wednesday
  • Assignment 2 will be released by Wednesday, and based primarily on Friday’s class

What you should do now:

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

Classes and inheritance (from today):

Inheritance and interfaces (for next time):