book.html
| TOC
| CD-ROM
| References
| Errata
| Tutorial Trail Map
![]() |
Errata (second edition) |
The following is a summary of the errors and ommissions that have been found in the first printing of the second edition of The Java Tutorial. If you find any that aren't listed here, please send them to tutorial@java.sun.com.
System.err
should be capitalized.
To compile the program change this line:
to this:system.err.println("Usage: Count filename");
System.err.println("Usage: Count filename");
hashCode
method is incorrectly listed as final.
hashCode
is not final and may be overridden by subclasses.
should be changed as indicated:ObjectOutputStream s = new ObjectOutputStream(f);
ObjectOutputStream s = new ObjectOutputStream(out);
book.html
| TOC
| CD-ROM
| References
| Errata
| Tutorial Trail Map