Errata

Java Fundamental Classes Reference

Errata for Java Fundamental Classes Reference

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.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date Submitted
Printed Page 305
description of readLine()

readLine() returns null when EOF is encountered and does not throw
an EOFException.

Anonymous   
Printed Page 433
in Float, it would be useful to explicitly say that

Float::Float(double) will store Float.POSITIVE_INFINITY if the double
has a value greater than Float.MAX_VALUE. Same on the negative side
and toward zero.

Anonymous   
Printed Page 454
code sample under "Class Summary": lines 16-18

public static String toBinaryString(long i);
public static String toHexString(long i);
public static String toOctalString(long i);

should be

public static String toBinaryString(int i);
public static String toHexString(int i);
public static String toOctalString(int i);

Anonymous