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 |
---|---|---|---|---|---|
Page 4 1st paragraph |
becOme => becAme (past simple tense) Note from the Author or Editor: |
Andrei Tereshko | Jan 25, 2022 | ||
Printed | Page 29 Line #15 (first command in section "Installing OpenJDK on Linux") |
The command to extract missing the option "x" (instead uses option "t") Note from the Author or Editor: |
Srini Nagul | Dec 25, 2020 | |
Page 115 First Sentence on Array Creation and Initialization |
"Thenew is used to create..." the keyword new should be separated from the determiner (or definite article) 'the'. Note from the Author or Editor: |
Justine Ang | Feb 25, 2022 | ||
Page 118 Fourth Paraghraph |
java.util.ArrayscopyOf(). The lack of space between java.util.Arrays and copyOf() would mean that it's one thing at first glance until you see the example. Note from the Author or Editor: |
Justine Ang | Feb 25, 2022 | ||
Page 131 1st paragraph, code comment |
Comments in the code example have typo: currently shows: "Comple-time error" but should read "Compile-time error" Note from the Author or Editor: |
Marcus | Feb 23, 2021 | ||
Page 139 3rd code example, just prior to last paragraph |
Code comment/explanation currently reads as "// Still a compile-time error, foo may not be initialized" but based on the code, the explanation should say 'bar' instead of 'foo' Note from the Author or Editor: |
Marcus | Feb 23, 2021 | ||
Page 164 3rd and 4th paragraph |
"Class Animal" should be "class Animal". Keyword "class" must be lower case. Note from the Author or Editor: |
Anonymous | Mar 19, 2022 | ||
Page 215 first paragraph |
The last sentence of p214, continuing on p215 says: "supposing an ObjectList extends a DateList type". However, I would expect that a DateList extends an ObjectList type and not the other way around. The following sentence "Now, you might object that ..." I do not understand at all. Could this be clarified? Note from the Author or Editor: |
Anonymous | Mar 27, 2022 | ||
Page 223 first paragraph, first sentence |
The first sentence ends with: "... and the use of threads.", but threads seem to be discussed in chapter 9. Note from the Author or Editor: |
Floris Jan Sicking | Mar 30, 2022 | ||
Printed | Page 237 Line#24 (first expression under "Alternation" section) |
Line#24 (first expression under "Alternation" section) gives regex incorrectly as below: Note from the Author or Editor: |
Srini Nagul | Jan 01, 2021 | |
Page 289 last code block |
The code uses a GridLayout, but the figures showing the results on page 290 are for a FlowLayout. Note from the Author or Editor: |
Anonymous | Apr 15, 2022 | ||
Page 290 code block beneath figure 10-3 |
Code "basic.setBackgroundColor(Color.YELLOW)": compilation cannot find the method "setBackgroundColor(Color)". Method "basic.setBackground(Color)" works ok. Note from the Author or Editor: |
Anonymous | Apr 15, 2022 | ||
Page 308 first paragraph |
"We then pick a starting size for the window and add our actual label component, the frame (.....)." I cannot understand what is meant by the trailing "the frame". Note from the Author or Editor: |
Anonymous | Apr 18, 2022 | ||
Page 339 3rd paragraph |
JCheckboxMenuItem must be JCheckBoxMenuItem (uppercase B). Note from the Author or Editor: |
Anonymous | Apr 26, 2022 | ||
Page 348 4th paragraph code block |
Variable "inReader" must be "charsIn". Note from the Author or Editor: |
Anonymous | Apr 30, 2022 | ||
Page 362 3rd paragraph |
Code does not compile: Note from the Author or Editor: |
Anonymous | May 08, 2022 | ||
Page 380 3rd paragraph |
Page 380 Note from the Author or Editor: |
Sophia | Oct 08, 2021 | ||
Page 399 first code block |
When the URL for sameDoc is printed, there is no slash between the host and path components. Path needs a leading slash. Note from the Author or Editor: |
Anonymous | May 14, 2022 | ||
Page 414 second paragraph from below |
Spelling error: probeConentType() Note from the Author or Editor: |
Anonymous | May 20, 2022 | ||
Page 416 last paragraph |
request method getExtraPath() must be getPathInfo(). Note from the Author or Editor: |
Anonymous | May 28, 2022 | ||
Page 418 code block continuing from page 417 |
Closing html tags: "</li>", "</ul>", "</body>" and "</html>" are not printed. Note from the Author or Editor: |
Anonymous | May 28, 2022 |