Errata
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 "Date 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 Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Printed | Page xvii Bottom of page |
Changed: |
Anonymous | Jan 01, 2000 | |
Printed | Page xvi The following information was added to the |
"Request for Comment" section: |
Anonymous | Feb 01, 2000 | |
Printed | Page xi 3rd paragraph |
"are an server-side" now reads "are a server-side" |
Anonymous | Jun 01, 2000 | |
Printed | Page 7 first paragraph |
"do any harm: it cannot infect" now reads "do any harm: untrusted code |
Anonymous | Oct 01, 2000 | |
Printed | Page 7 3rd Paragraph, last sentence |
The last sentence no longer has "is" and "has" together. |
Anonymous | Feb 01, 2000 | |
Printed | Page 13 second paragraph under "Declaring a variable and parsing input": |
Cut the sentence "They make this formula ... not just a specific set like:" |
Anonymous | ||
Printed | Page 17 footnote |
"If you didn't understood all the details..." now reads "If you didn't |
Anonymous | Oct 01, 2000 | |
Printed | Page 20 3rd paragraph |
Unicode character of PI was described: |
Anonymous | Jun 01, 2000 | |
Printed | Page 24 1st paragraph under Integer Types heading |
did read |
Anonymous | Feb 01, 2000 | |
Printed | Page 25 last example |
"Avagadro's Number" now reads "Avogadro's Number." |
Anonymous | Mar 01, 2001 | |
Printed | Page 25 Under Floating-Point Types |
"As shown in table 2-3, float..." |
Anonymous | Jun 01, 2000 | |
Printed | Page 25 second code block |
Changed: |
Anonymous | Jun 01, 2000 | |
Printed | Page 25 |
second code example; The code reads: |
Anonymous | ||
Printed | Page 25 Floating-point types |
All three comments are missing a multiplication sign. |
Anonymous | ||
Printed | Page 26 block of code in the middle of the page |
Changed the four lines to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 26 5th paragraph, just above headline "Strings" |
Did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 26 2nd paragraph from bottom |
"The only way to distinguish negative zero..." |
Anonymous | Jun 01, 2000 | |
Printed | Page 27 2nd and 3rd paragraphs of "Type Conversions" |
Changed the 2nd sentence of the second paragraph to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 29 Code in middle of page |
The following code line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 32 3rd paragraph of "Operand number and type" |
Changed the last line of this paragraph to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 37 |
The second paragraph of the section "Conditional AND (&&)" reads: |
Anonymous | ||
Printed | Page 39 Code under the Bitwise Complement (~) |
Did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 39 Code under Bitwise XOR (^) |
Did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 40 bottom: |
"the same x=x+2" now reads "the same as x=x+2". |
Anonymous | Oct 01, 2000 | |
Printed | Page 40 2nd block of code |
|
Anonymous | Mar 01, 2001 | |
Printed | Page 41 1st paragraph of "The Conditional Operator" |
Changed the last line of this paragraph to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 43 In the "Object creation (new)" list item |
Changed first sentence to read "In Java, objects (and arrays) are ..." |
Anonymous | Jun 01, 2000 | |
Printed | Page 44-45 The code blocks that starts at the bottom of 44 |
and finishes on 45: |
Anonymous | Jun 01, 2000 | |
Printed | Page 45 3rd paragraph, 2nd line |
did read |
Anonymous | Feb 01, 2000 | |
Printed | Page 45 2nd par., |
"a identifier" now reads "an identifier" |
Anonymous | Jun 01, 2000 | |
Printed | Page 45 2nd paragraph from bottom |
First sentence did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 46 3rd code block |
The line did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 46, 47, 48 |
All long equals signs are now separated by a thinspace, making |
Anonymous | Jun 01, 2000 | |
Printed | Page 49 last paragraph |
"cannot contain a runtime expressions" should read "cannot contain a runtime |
Anonymous | ||
Printed | Page 50 middle: |
"are commonly used as a loop counters" should read "are commonly used as loop |
Anonymous | ||
Printed | Page 51 footnote |
Second sentence of this footnote has been removed. |
Anonymous | Jun 01, 2000 | |
Printed | Page 55 code |
did read: |
Anonymous | Oct 01, 2000 | |
Printed | Page 55 Code in middle, Line 3 |
... 0")); |
Anonymous | Feb 01, 2000 | |
Printed | Page 55 Last paragraph |
java.langThrowable |
Anonymous | Feb 01, 2000 | |
Printed | Page 55 paragraph after "Exception types" heading |
Changed "java.langThrowable" to "java.lang.Throwable". |
Anonymous | Jun 01, 2000 | |
Printed | Page 55 code |
did read: |
Anonymous | Jul 01, 2000 | |
Printed | Page 59 last few paragraphs before "Methods" |
In the paragraph that starts "In previous discussions...", changed |
Anonymous | Jun 01, 2000 | |
Printed | Page 59 first paragraph after "Methods" |
Changed "A method is a named collection of Java..." |
Anonymous | Jun 01, 2000 | |
Printed | Page 60 bulleted list |
Changed the fourth bullet item to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 63 last paragraph |
At the start of the paragraph that begins "String literals can be only a |
Anonymous | Oct 01, 2000 | |
Printed | Page 63 2nd paragraph, 4th line up from bottom |
java.lang.Constructor |
Anonymous | Jun 01, 2000 | |
Printed | Page 63 last paragraph |
At the start of the paragraph that begins "String literals can be only a |
Anonymous | Jul 01, 2000 | |
Printed | Page 64 2nd block of code |
Changed the following lines: |
Anonymous | Jun 01, 2000 | |
Printed | Page 66 4th text paragraph |
Deleted this paragraph and replaced it with: |
Anonymous | Jun 01, 2000 | |
Printed | Page 66 last code block |
Changed the following two lines: |
Anonymous | Jun 01, 2000 | |
Printed | Page 71 3rd paragraph |
Under "Copying Objects and Arrays", "codex" now reads "code" |
Anonymous | Feb 01, 2000 | |
Printed | Page 71 top |
"following code that manipulate" should read "following code that manipulates". |
Anonymous | ||
Printed | Page 73 Last paragraph |
Added closing paren after Object, to read "(from Object)," |
Anonymous | Jun 01, 2000 | |
Printed | Page 76 The second bulleted paragraph on this page ("All array types...with an |
explicit cast.") should be deleted. |
Anonymous | ||
Printed | Page 79 third paragraph under "Defining and Running Java Programs," |
second-to-last sentence: |
Anonymous | Mar 01, 2001 | |
Printed | Page 79 5th paragraph |
The last sentence "You may also need to specify the -classpath option |
Anonymous | Mar 01, 2001 | |
Printed | Page 79 first code block |
Changed from: |
Anonymous | Jun 01, 2000 | |
Printed | Page 79 second code block |
Changed "C:>" to "%" at the beginning of the code line. |
Anonymous | Jun 01, 2000 | |
Printed | Page 80 code blocks at top of page |
Changed "C:>" to "%" at the beginning of each code line. |
Anonymous | Jun 01, 2000 | |
Printed | Page 81 No struct and union types |
Should mention that subclassing replaces most union behavior |
Anonymous | Feb 01, 2000 | |
Printed | Page 81 Bottom of the page, "No variable-length argument lists" list item |
Changed second sentence to read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 87 1st full paragraph |
"which is is perfectly" should read "which it is perfectly". |
Anonymous | ||
Printed | Page 88 1st full paragraph |
"method has such an long, awkward" should read "method has such a long, |
Anonymous | ||
Printed | Page 89 2nd par. from bottom: |
"compiler determines which constructor you wish based" now reads "compiler |
Anonymous | Oct 01, 2000 | |
Printed | Page 91 Code at bottom |
The line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 92 code halfway down |
first line of the code did read: |
Anonymous | Oct 01, 2000 | |
Printed | Page 92 line -5: |
"free method" now reads "free function", as the C language doesn't have |
Anonymous | Oct 01, 2000 | |
Printed | Page 92 Code halfway down |
First line of the code did read: |
Anonymous | Jul 01, 2000 | |
Printed | Page 93 line -15: |
"argso[]" now reads "args[]". |
Anonymous | Oct 01, 2000 | |
Printed | Page 99 bottom |
This code example is now on two lines, reading: |
Anonymous | Jun 01, 2000 | |
Printed | Page 104 3rd paragraph from bottom |
1st sentence: |
Anonymous | Jun 01, 2000 | |
Printed | Page 104 Fourth and fifth paragraphs |
In the fourth paragraph, change "in the overriding method" to "in the |
Anonymous | ||
Printed | Page 104 5th paragraph |
"there is no way for a program that uses an object" should read "there is no |
Anonymous | ||
Printed | Page 105 "Access Control" paragraph |
"In an number of" |
Anonymous | ||
Printed | Page 106 The footnote on this page should be removed. |
Anonymous | |||
Printed | Page 109 line 25: |
There was an unnecessary semi-colon after the definition of the getRadius() |
Anonymous | Oct 01, 2000 | |
Printed | Page 109 Example 3-4 |
The line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 109 sample code; Instead of |
protected checkRadius(double radius){ |
Anonymous | ||
Printed | Page 114 line -21 |
double totalDistance; |
Anonymous | Oct 01, 2000 | |
Printed | Page 115 4th paragraph |
"If you use an abstract clas, ...." |
Anonymous | ||
Printed | Page 116 last line of code |
did reads: |
Anonymous | Oct 01, 2000 | |
Printed | Page 116 top |
"upper-left" now reads "upper-right" to correspond with the example |
Anonymous | Jun 01, 2000 | |
Printed | Page 116 middle |
The line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 116 Last line of code |
Did read: |
Anonymous | Jul 01, 2000 | |
Printed | Page 120 Example 3-9 |
In the following lines: |
Anonymous | Jun 01, 2000 | |
Printed | Page 120 Last sentence |
"...code using the LinkedStack class..." |
Anonymous | Jun 01, 2000 | |
Printed | Page 128 Example 3-11 |
The 4th line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 134 Synchronized entry |
In the third column of the entry for "synchronized", change: |
Anonymous | ||
Printed | Page 138 last code line under "// Creating strings" |
t1 = Object.toString(); // Convert objects to strings with toString() |
Anonymous | Mar 01, 2001 | |
Printed | Page 138 13th line from bottom |
The line |
Anonymous | Mar 01, 2001 | |
Printed | Page 138 2nd paragraph |
The 4th line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 138 Code, near middle |
The line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 138 code section, line 13 from the bottom |
t.getChars(0, 3, ca, 1); // Put 1st 3 chars of s into ca[1]-ca[3] |
Anonymous | ||
Printed | Page 141 line 23: |
The statement "The valueOf() method can handle arbitrary bases" is incorrect-- |
Anonymous | Oct 01, 2000 | |
Printed | Page 141 2nd code example, |
The 3rd line: |
Anonymous | Jun 01, 2000 | |
Printed | Page 142 the line |
float f = generator.nextFloat(); // 0.0 <= d < 1.0 |
Anonymous | Oct 01, 2000 | |
Printed | Page 148 |
config.getProperties("filterclass", // The property name |
Anonymous | Oct 01, 2000 | |
Printed | Page 148 line -7: |
"import java.net.URLClassLoader;" now reads "import java.net.*;" |
Anonymous | Oct 01, 2000 | |
Printed | Page 149 paragraph after first code block |
"does not run" now reads "does not typically run." |
Anonymous | Mar 01, 2001 | |
Printed | Page 150 7th line |
did read: |
Anonymous | Oct 01, 2000 | |
Printed | Page 150 7th line |
Did read: |
Anonymous | Jul 01, 2000 | |
Printed | Page 150 2nd code example, near bottom of the page |
The code example is written: |
Anonymous | ||
Printed | Page 151 Last paragraph |
"carefu" now reads "careful" |
Anonymous | Feb 01, 2000 | |
Printed | Page 151 last line of first code example |
sorter.join(); |
Anonymous | Mar 01, 2001 | |
Printed | Page 151 third paragraph: |
"declare any sensitive methods" now reads "declare all sensitive methods." |
Anonymous | Mar 01, 2001 | |
Printed | Page 152 "When a thread calls the wait() method of an object, it is added" now |
reads "When a thread calls the wait() method of an object, any locks the thread |
Anonymous | Mar 01, 2001 | |
Printed | Page 153 after first line of code, the line |
import java.util.*; |
Anonymous | Oct 01, 2000 | |
Printed | Page 159 1st paragraph |
In line 5, "Server Socket" now reads "ServerSocket". |
Anonymous | Oct 01, 2000 | |
Printed | Page 160 line 5 of example |
"host.domain.org" now reads "host.example.com". |
Anonymous | Mar 01, 2001 | |
Printed | Page 180 3rd paragraph after list, line 2 |
"proper ty" now reads "property". |
Anonymous | Oct 01, 2000 | |
Printed | Page 180 section discussing JavaBeans |
When "indexed property" is defined (halfway down the page), "property" is |
Anonymous | ||
Printed | Page 193 code comment |
The line: |
Anonymous | Oct 01, 2000 | |
Printed | Page 193 fourth line from bottom of code example: |
public Complex add(Complex c1, Complex c2) { |
Anonymous | Mar 01, 2001 | |
Printed | Page 193 Code comment |
The line: |
Anonymous | Jul 01, 2000 | |
Printed | Page 194 2nd paragraph, 2nd line |
Cut one "such as". |
Anonymous | ||
Printed | Page 209 2nd para |
Changed "Hotspot" to "HotSpot" |
Anonymous | Jun 01, 2000 | |
Printed | Page 209 Code in middle |
Did read: |
Anonymous | Jun 01, 2000 | |
Printed | Page 227 4th paragraph under jdb |
"suspendx" now reads "suspend". |
Anonymous | Oct 01, 2000 | |
Printed | Page 240 3rd para |
"Java 1.2x" now reads "Java 1.2". |
Anonymous | Oct 01, 2000 | |
Printed | Page 291 Second full paragraph |
Change: |
Anonymous | ||
Printed | Page 332 last sentence of Boolean description |
"boolean value" now reads "Boolean object." |
Anonymous | Mar 01, 2001 | |
Printed | Page 356 1st paragraph under "Object" |
Deleted the sentence that began "equals() tests whether" and ended |
Anonymous | Jun 01, 2000 | |
Printed | Page 393 near middle |
"1.2" flags were added to the lines for the public constants ONE and ZERO. |
Anonymous | Mar 01, 2001 | |
Printed | Page 458 After 4th line of code, a new line was added |
|
Anonymous | Oct 01, 2000 | |
Printed | Page 458 code, 7th line |
did read: |
Anonymous | Oct 01, 2000 | |
Printed | Page 458 Code, new line added after 4th line |
java.security.NoSuchProviderException, java.security.SignatureException; |
Anonymous | Jul 01, 2000 | |
Printed | Page 494 The table should be changed as follows |
Month MMM (name) MM (2 digits) M (1 or 2 digits) |
Anonymous | ||
Printed | Page 516 Class: GregorianCalendar says |
...numbered from the birth of Christ that is used |
Anonymous | ||
Printed | Page 519 line -2 |
"correctly,x" now reads "correctly." |
Anonymous | Oct 01, 2000 | |
Printed | Page 532 |
In the fourth line down under the Set heading allAll(); now reads : |
Anonymous | Oct 01, 2000 | |
Printed | Page 562 Figure 26-1 |
|
Anonymous | Oct 01, 2000 | |
Printed | Page 579 Figure 28-1 |
|
Anonymous | Mar 01, 2001 |