Learning Java

Errata for Learning Java

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
Printed
Page 225
7th paragraph

The second paragraph under the heading Enter Generics says the following: If you look at the source or Javadoc for the List class, for example, you'll see it defined something like this: public class List<E> { It is however defined: public interface List<E> extends Collection<E> { ........ void add(int index, E element); E get(int index);

Note from the Author or Editor:
They are correct. On page 225 the first line of the last example should read "public interface List<E> {"

Andrew Chapman  Feb 11, 2014 
PDF
Page 234
2nd paragraph

The inheritance relationship between ObjectList and DateList should be in the reverse direction as described in the book. "In the simplest case, supposing a DatetList type extends an ObjectList type..."

Note from the Author or Editor:
The reviewer is correct. "In the simplest case, supposing an ObjectList type extends a DateList type" should read "In the simplest case, supposing a DatetList type extends an ObjectList type"

Andrea Bozzoni  Jan 21, 2014