Teach Yourself Java in 21 Days, Eighth Edition
Teach Yourself Java in 24 Hours, Eighth Edition
Teach Yourself C++ in 24 Hours
Hour 7: Using Conditional Tests to Make Decisions
Notes and Corrections
- Page 85: Line 2 of Listing 7.2 should be
public static void main(String arguments). The "" after String was omitted. The source code has been corrected.
- Solution 1: Every break statement that is removed from Clock.java may cause an extra month name to be displayed, depending on the statement that was removed and the current month.
- Solution 2: NoteGrade1.java and NoteGrade2.java.