Session Details

Week 1, Session 2 — Tue Dec 1

Reading

  1. Big Java Chapter 1 (just skim §1.1–1.2 and 1.5, read the rest)
  2. Big Java, §2.1–2.7

HW Due

  1. HW 1

Topics

  1. Acrobat Role-Playing, an Introduction to Object-Oriented Design
  2. Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
  3. The String class
  4. Primitive types
  5. UML Class Diagram for a single class

Resources

  1. Slides

Outline

  1. [10 min] Questions; HW1 commits
  2. [5] More announcements and course intro
  3. [30] Acrobat Role-Playing, an Introduction to Object-Oriented Design
  4. [5] Break
  5. [5] Identifiers and variables in Java
  6. [15] Using objects and methods, UML Class Diagrams. UsingStrings exercise in ObjectsAndMethods project.
  7. [5] Passing parameters, types. Exercise on String method calls.
  8. [10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
  9. [5] Constructing objects, accessor and mutator methods.
  10. [15] Finish daily quiz, begin homework ( FourRectanglePrinter and WordGames in ObjectsAndMethods project).

HW Assigned

  1. HW 2