Session Details
Week 1,
Session 2 — Tue Mar 8
Reading
-
Big Java Chapter 1 (just skim §1.1–1.2 and 1.6 (1.5 in ed3), read the rest)
-
Big Java, §2.1–2.7
HW Due
-
HW 1
Topics
-
Variables. Using and constructing objects. Calling methods, accessor and mutator methods.
-
The String class
-
Primitive types
-
UML Class Diagram for a single class
-
Java API documentation
Resources
-
Slides
Outline
-
[10 min] Questions; HW1 commits
-
[5] More announcements and course intro
-
[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.
-
[5] Break
-
[10] Primitive types. SomeTypes exercise in ObjectsAndMethods project.
-
[5] Constructing objects, accessor and mutator methods.
-
[10] Java API documentation
-
[35] Finish daily quiz, begin homework ( FourRectanglePrinter and StringPractice in ObjectsAndMethods project).
HW Assigned
-
HW 2