Session Details

Week 1, Session 3 — Thu Dec 3

Reading

  1. Big Java, §2.8–2.10
  2. First two pages of this intro to UML Class Diagrams

HW Due

  1. HW 2

Topics

  1. API documentation, Javadoc
  2. Unit tests with JUnit
  3. Object references

Resources

  1. Slides
  2. Moving from JUnit 3.8 to 4 (ignore if you don’t already know JUnit 3.8)

Outline

  1. [10] Questions
  2. [10] Javadocs
  3. [15] Javadoc exercise (add comments to MoreWordGames in JavadocsAndUnitTesting project), then summary.
  4. [5] Break
  5. [15] Unit testing with JUnit. Examine JUnitMoveTester in JavadocsAndUnitTesting project.
  6. [15] JUnit exercise: create and implement MoreWordGamesTest in JavadocsAndUnitTesting project.
  7. [15] Object references, assignment, box and pointer diagrams
  8. [20] Written exercise from HW 3 on object references: ObjectReferenceExamples in JavadocsAndUnitTesting project.

HW Assigned

  1. HW 3