Session Details

Week 2, Session 4 — Mon Dec 3

Reading

  1. 3.3-3.7
  2. 4.1-4.1.8
  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 constructors
  2. Using the Java API documentation
  3. Javadoc comments and document generation
  4. overriding and overloading
  5. instanceof, class casts
  6. instance and static members
  7. 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