Java in a Nutshell

Errata for Java in a Nutshell

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 "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
PDF
Page xvi
Examples online

The examples in this book are available online and can be downloaded from the home page for the book at http://www.oreilly.com/catalog/javanut6 The link to the examples does NOT work. I get a 404 error.

Note from the Author or Editor:
This one is completely on me. I will be in touch with my editor directly to figure out how to get the necessary files uploaded.

Evita Chapa  Nov 07, 2014 
PDF
Page 32
table 2.2 item 14

You show the multiply operator as \* . This also occurs in a later example on page on page 35 under side effects. For example, the expression a\*=2 can also be written as a=a\*2.

Note from the Author or Editor:
The multiplication operator * is instead shown as \* in the places the reporter indicates. The source for the book was automatically converted (as the 5th Edition used an older publishing framework), and this error is a result of that conversion process. To fix it, simply remove the unecessary \ from before the * operator in the book source.

Michael McCaslin  Oct 24, 2014 
PDF
Page 41
3rd paragraph.

You cannot use these operators with floating-point, boolean, array, or object operands. When used with boolean operands, the &, |, and \^ operators perform a different operation, as described in the previous section. Backslash before carat is extraneous.

Note from the Author or Editor:
The ^ operator is instead shown as \^ in the places the reporter indicates. The source for the book was automatically converted (as the 5th Edition used an older publishing framework), and this error is a result of that conversion process. To fix it, simply remove the unecessary \ from before the ^ operator in the book source.

Rob Gregor  Nov 21, 2014