Java for Everyone, 1st Edition

Bug Report Page


How to Tell which Printing You Have

On the copyright page (facing the first page of the Preface), there is a printing history of the book. The printing history is a row of numbers that—at the 1st printing—looks like this:

10 9 8 7 6 5 4 3 2 1

At each subsequent printing, one number is removed from the end of this row of numbers to indicate which printing of the book you have. For example, the last number in the row of numbers in the 2nd printing is 2, and so on. In the list below, [n] means that an error is fixed in the nth printing.

Page 5
Change “Work on the ENIAC was supported by the U.S. Navy” to “Work on the ENIAC was supported by the U.S. Army”
Page 82
Change “When the body of an if statement consists of a single statement” to “When a branch of an if statement consists of a single statement”
Page 124
Change if (weight < 0) to if (weight <= 0) and "Error: Weight cannot be negative" to "Error: Weight must be positive".
Page 173 Self-Check 2
Change “7 years” to “8 years”
Page 264 Exercise R6.13
Replace the word element with i
Page 264 Exercise R6.14
In the last sentence, replace i with element
Page 267 Exercise P6.7
In the pseudocode, change Else to If not inRun
Page 268 Exercise P6.13
In the pseudocode, remove “or if you are in the lower-right corner”

Before “Decrement row”, add “Set row and column to their previous value.”

Remove all pseudocode after “Decrement row”

Page 306
omg.w3c.dom should be org.w3c.dom
Page 468
Page 485
In the definition for “Constructor”, change “A method that initializes” to “A sequence of statements for initializing”
Chapter 12, Page 19
Change reference How To 10.1 to How To 12.2

Thanks to Cindy Johnson, Alexander Mentis, Su Olschesky, and (your name might go here) for their bug reports and suggestions

Bug Report Form

Please use this form to report any bugs that you find. Please check the list of known bugs first before you report a bug. Unfortunately, I do not have the time to respond personally to every report, but I do read them all and will post updates to this page. Thank you!

Your name:

Your email address:

Page number:

Problem description:

To protect against spam robots, please answer this simple math problem:
* =