Session Details
Week 2,
Session 5 — Wed Dec 10
Reading
-
Big Java, Ch. 5 Pay particular attention to the §5.2 on Comparing Values and §5.5 on Test Coverage. Be sure to read Advanced Topics 5.1-Selection Operator, 5.2-
switch
Statement, and 5.3-Enumerated Types.
-
Sections 6.1-6.2
HW Due
-
HW 4
Topics
-
Implementing Classes in Java
-
Sutherland’s Sketchpad
Resources
-
Slides
Outline
-
[10 min] Questions, Review HW2 and HW3
-
[5 min] OO encapsulation
-
[15 min] Java classes vs. Python classes
-
[ 5 min] Sketchpad video
-
[5 min] Break
-
[25 min] Live coding on creating a class
-
[15 min] Begin homework
HW Assigned
-
HW 5