Session Details

Week 2, Session 4 — Tue Mar 11

Reading

  1. 3.3-3.7
  2. 4.1
  3. First two pages of this intro to UML Class Diagrams

HW Due

  1. HW 3

Topics

  1. Basics of Java classes: constructors, mutators and accessors, equals, toString, static fields and methods, this, constructors, calling constructors from within a class
  2. Javadoc comments and document generation
  3. instanceof, class casts
  4. Annotations (Override, SuppressWarnings)

Resources

  1. Slides
  2. PointRectCircle files

Outline

  1. [5 min] Announcements
  2. [95 min ] Points, Rectangles, Circles demo/exercise (with a break in the middle).

HW Assigned

  1. HW 4