Lesson 7: Inheritance
Outline:
- Questions?
- Quiz #2
- Inheritance
- parent and child classes (a.k.a. superclasses and subclasses)
- is-a versus has-a
- comparison to interfaces
- example: inheritance and method calls
- exploring the A3 starter code
- [if time] another example: Exercise 2
- Wrap-up
What’s next
Upcoming events/assessments:
- CS Bits and Bytes Thursday at 3:30pm in Anderson 329: CS Summer Research Students
- Assignment 3 is already released and due this Friday!
What you should do now:
- The readings (see below)
- Complete Part A of Assignment 3 today
Reading assignment (to be completed by the next class):
Inheritance (from today):
Linked lists and null safety (for next time):