Errata List for

Fundamentals of Java: Comprehensive Course

 

Below are the errors that have been discovered thus far in the first printing. Please report any additional errors to klambert@wlu.edu.

Page 11 Second paragraph, fourth line, "Standard for" should be "Standard Code for"
Page 12 5th line from top of page, 16,777,126 should be 16,777,216
Page 13 Figure 1-33, 32M +- 2 and 32M +- 1 should be 32M - 1 and 32M - 2
Page 36 Figure 2-8, semicolon should be missing at the end of line 9 of the code
Page 41 Figure 2-11, "System. out" should be "System.out"
Page 41 Figure 2-11, "printin" should be "println"
Page 45 Exercise 2.7, 1a, insert pen.down(); between pen.turn(90); and pen.move(30);
Page 45 Exercise 2.7, 1b, pen.turn(60); should be pen.turn(120);
Page 57 Third line of code from the bottom of the page, "Fahrenheit" should be "fahrenheit"
Page 79 Second code segment, "Fahrenheit" should be "fahrenheit"
Page 80 Bottom line in last code segment, "Fahrenheit" should be "fahrenheit"
Page 81 Tenth line from bottom in last code segment, "base, height" should be "base, height, area"
Page 93 Table 4-1, row 2, column 1, "Static" should be "static"
Page 94 Table 4-2, row 2, column 2, should read "0.0, inclusive, and 1.0, exclusive."
Page 105 Exercise 4.b, "while (expo <= limit)" should be

"while (expo <= limit){

expo++;"
Page 109 Exercise 1.a, delete "}" on last line of code
Page 158 Lines 5 and 6 of first code segment, "s,m1" should be "s.m1" and "s,m2" should be "s.m2"
Page 177 Last word of last paragraph before bullets, "invariables" should be "variables"
Page 190 Last code segment, "1.1" should be "0.1" and "1.2" should be "0.2"
Page 191 First code segment, "1.1" should be "0.1" and "1.2" should be "0.2"
Page 192 Third line from bottom in second code segment, "limit" should be "innerLimit"
Page 193 Exercise 1a, second line of code, "j <= 3)" should be "j <= 3; j++)"
Page 193 Exercise 1b, second line of code, "j <= 3)" should be "j <= 3; j++)"
Page 214 Table 7-1, row 1, column 2, "double getNumber" should be "int getNumber"
Page 222 Figure 7.10, delete the lower box containing processInputs and redirect the arrow to the box containing displayNumbers
Page 227 Project 7-5, "(1 + interest rate / 500)" should be "(1 + interest rate / 400)"
Page 241 Last code segment, "integers" should be "// integers"
Page 252 Last line of second code segment, "accountArray" should be "studentArray"
Page 290 First line of the second program comment, "super.area" should be "super.toString"
Page 333 Fourth line of code, {"hi", "there", "Mary"} should be {"hi", "there", "Mary", "", ""}
Page 379 In "Did You Know?" box, bases for the logs should be subscripts instead of superscripts.
Page 507 Second line from the bottom of the page, "wordList.size())" should be "wordList.size(); i++)"
Page 507 Last line, "wordlist" should be "wordList"