Errata
Submit your own errata for this product.
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color Key: Serious Technical Mistake Minor Technical Mistake Language or formatting error Typo Question
| Version | Location | Description | Submitted By | Corrected |
|---|---|---|---|---|
| Printed | Page 11 4th paragraph |
The word 'runtime' is broken at the end of the line as 'runt-ime'; |
Anonymous | |
| Printed | Page 39 10th line from Bottom |
A method or variable declared as private is only inaccessible from inside its own class. |
Anonymous | Feb 2004 |
| Printed | Page 43 1st and 3rd paragraphs |
In the first paragraph, the line that says |
Anonymous | |
| Printed | Page 67 5th paragraph (just before "System Properties" heading) |
Missing space before "method" in "The java interpreter continues to run until the |
Anonymous | |
| Printed | Page 77 output for "jar tvf spaceblaster.jar" |
The first line of the output is incorrectly indented, so it doesn't line up with the other lines. |
Anonymous | |
| Printed | Page 108 near top of page |
There should be a semicolon (;) at the end of line for the following code sample |
Anonymous | |
| Printed | Page 108 last 2 command line examples and last paragraph |
The examples should have a class to execute. Instead of |
Anonymous | |
| Printed | Page 109 middle of page |
missing semicolon (;) at end of |
Anonymous | |
| Printed | Page 111 middle of the page, under "Array Types" |
"An array of objects can be created in the same way:" |
Anonymous | Feb 2004 |
| Printed | Page 119 3rd paragraph |
The word "zero" is not a keyword or variable, so it shouldn't be set in monospace |
Anonymous | |
| Printed | Page 130 4th paragraph |
"We'll talk about method overriding later in the chapter." |
Anonymous | |
| Printed | Page 133 2nd to last paragraph |
"The instance variable defaultDoors is not initialized until a later point in the |
Anonymous | Oct 2003 |
| Printed | Page 160 3rd paragraph |
"the table doesn't addresses that scope" |
Anonymous | |
| Printed | Page 189 1st paragraph |
"The magic is performed by slight of hand" |
Anonymous | Feb 2004 |
| Printed | Page 196 2nd paragraph |
The text incorrectly refers to an instance method sleep(), when in truth there are only two static sleep() methods. |
Anonymous | |
| Printed | Page 196 2nd paragraph |
The third and fourth sentences of the second paragraph on p. 196 NOW READ as follows: |
Anonymous | Feb 2004 |
| Printed | Page 231 IN PRINT: 3rd paragraph, code sample |
"String s = Integer.toHexString( 255 ).toUpper(); // s = "FF";" |
Anonymous | Oct 2003 |
| Printed | Page 232 4th paragraph |
(probably typo, but serious error anyway) |
Anonymous | |
| Printed | Page 235 2nd para, first line of code |
NOW READS: |
Anonymous | Feb 2004 |
| Printed | Page 258 Table 10-4 |
In Table 10-4 |
Anonymous | |
| Printed | Page 304 last but one paragraph |
"the Swing JFileDialog class" |
Anonymous | |
| Printed | Page 304 Code sample following the 2nd paragraph |
System.getProperty("user.dir")); |
Anonymous | Oct 2003 |
| Printed | Page 305 2nd paragraph under File Options |
"...getPath() returns the directory information without the filename." |
Anonymous | |
| Printed | Page 306 |
Collections.sort(l); |
Anonymous | |
| Printed | Page 307 Table 11-1 |
The method for creating multiple directories in a path is written as Mkdirs(), |
Anonymous | |
| Printed | Page 309 Beginning of 2nd paragraph |
Missing space between words: |
Anonymous | Oct 2003 |
| Printed | Page 311 4th paragraph |
"In Chapter 11 we'll take a detailed look at building networked applications with |
Anonymous | Feb 2004 |
| Printed | Page 322 4th paragraph |
The first sentence of paragraph 4: |
Anonymous | Oct 2003 |
| Printed | Page 323 Bottom of page |
3rd line from end of page states: |
Anonymous | Oct 2003 |
| Printed | Page 343 2nd paragraph, 1st sentence |
First sentence of paragraph under header "Do French web servers speak French?": |
Anonymous | Oct 2003 |
| Printed | Page 367 1st Paragraph starting with "Finally," |
The following HAS BEEN ADDED in the code section before the line starting with StringIterator: |
Anonymous | Feb 2004 |
| Printed | Page 370 Third sentence in first paragraph |
The text says that "Each call to select() returns the set of SelectionKeys that are |
Anonymous | |
| Printed | Page 374 8th line in write() method |
The test to determine if the file has been completely read is incorrect. It should be |
Anonymous | |
| Printed | Page 386 |
In the Post.java sample, in the line immediately following "// read: |
Anonymous | Oct 2003 |
| Printed | Page 404 8th and 9th code lines from top of page |
In the following two lines of code from the ShoppingCart.java sample: |
Anonymous | Feb 2004 |
| Printed | Page 405 Middle of the 3rd text paragraph |
In line 6 of the 3rd paragraph: |
Anonymous | |
| Printed | Page 406 Next to last paragraph, last sentence |
The text says "Indicating a negative time period is a good way to erase an existing |
Anonymous | |
| Printed | Page 439 3rd paragraph, 3rd sentence |
The beginning of this sentence NOW READS: |
Anonymous | Feb 2004 |
| Printed | Page 502 1st paragraph under "Validating Data" |
Where it says |
Anonymous | |
| Printed | Page 506 Figure 17-4 |
The figure is from Microsoft Internet Explorer for Mac and not the CanisMinor Application. |
Anonymous | |
| Printed | Page 682 2nd paragraph |
The command |
Anonymous | Oct 2003 |
| Printed | Page 692 Public Class SimpleElement |
The public method |
Anonymous | |
| Printed | Page 694 public void characters() method |
The public void characters() method uses .addText(text); |
Anonymous |
