Session Details

Week 2, Session 5 — Thu Mar 13

Reading

  1. 4.2-4.4

HW Due

  1. HW 4

Topics

  1. Basics of inheritance: type compatibility, visibility, super
  2. IS-A vs. HAS-A
  3. Overriding and overloading

Resources

  1. Slides

Outline

  1. [10 min] Return HW3, student questions
  2. [10 min] Look at Sieve solution, talk about efficiency.
  3. [20 min] Recap: resizable arrays and ArrayLists
  4. [5 minutes] Break
  5. [10 min] Version control, check out BigRational code from Subclipse.
  6. [15 min] Inheritance basics, write Square class.

HW Assigned

  1. HW 5