Session Details

Week 1, Session 2 — Thu Mar 11

Reading

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

HW Due

  1. HW 1

Topics

  1. Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
  2. The String class
  3. Primitive types
  4. 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. [5] Break
  4. [5] Identifiers and variables in Java
  5. [15] Using objects and methods, UML Class Diagrams. UsingStrings exercise in ObjectsAndMethods project.
  6. [5] Passing parameters, types. Exercise on String method calls.
  7. [10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
  8. [5] Constructing objects, accessor and mutator methods.
  9. [15] Finish daily quiz, begin homework ( FourRectanglePrinter and WordGames in ObjectsAndMethods project).

HW Assigned

  1. HW 2