Session Details

Week 2, Session 5 — Wed Dec 10

Reading

  1. Big Java, Ch. 5 Pay particular attention to the §5.2 on Comparing Values and §5.5 on Test Coverage. Be sure to read Advanced Topics 5.1-Selection Operator, 5.2-switch Statement, and 5.3-Enumerated Types.
  2. Sections 6.1-6.2

HW Due

  1. HW 4

Topics

  1. Implementing Classes in Java
  2. Sutherland’s Sketchpad

Resources

  1. Slides

Outline

  1. [10 min] Questions, Review HW2 and HW3
  2. [5 min] OO encapsulation
  3. [15 min] Java classes vs. Python classes
  4. [ 5 min] Sketchpad video
  5. [5 min] Break
  6. [25 min] Live coding on creating a class
  7. [15 min] Begin homework

HW Assigned

  1. HW 5