Session Details
Week 1,
Session 2 — Tue Dec 1
Reading
-
Big Java Chapter 1 (just skim §1.1–1.2 and 1.5, read the rest)
-
Big Java, §2.1–2.7
HW Due
-
HW 1
Topics
-
Acrobat Role-Playing, an Introduction to Object-Oriented Design
-
Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
-
The String class
-
Primitive types
-
UML Class Diagram for a single class
Resources
-
Slides
Outline
-
[10 min] Questions; HW1 commits
-
[5] More announcements and course intro
-
[30] Acrobat Role-Playing, an Introduction to Object-Oriented Design
-
[5] Break
-
[5] Identifiers and variables in Java
-
[15] Using objects and methods, UML Class Diagrams. UsingStrings exercise in ObjectsAndMethods project.
-
[5] Passing parameters, types. Exercise on String method calls.
-
[10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
-
[5] Constructing objects, accessor and mutator methods.
-
[15] Finish daily quiz, begin homework ( FourRectanglePrinter and WordGames in ObjectsAndMethods project).
HW Assigned
-
HW 2