book.html
| TOC
| CD-ROM
| References
| Errata
| Tutorial Trail Map
|   | Errata for the Second Printing (first edition) | 
The following errors have been fixed in the second printing of The Java Tutorial. The third printing is identical to the second printing.
HelloWorld should be HelloWorld.java.
	
Date myBirthday = new Date(1996, 8, 30);
package Greek;
public class Alpha {
    public int iampublic;
    public void publicMethod() {
        System.out.println("publicMethod");
    }
}
int i; should be removed.
     for loop should read:
for (int i = 0; i <= numImages; i++) {
     
class AnimationThread extends Thread {
    int framesPerSecond;
    int numImages;
    Image[] images;
    AnimationThread(int fps, int num) {
        super("AnimationThread");
        this.framesPerSecond = fps;
        this.numImages = num;
        this.images = new Image[numImages];
        for (int i = 0; i <= numImages; i++) {
            . . .
            // Load all the images.
            . . .
        }
    } 
}
String input; should be deleted from
     the code sample at bottom of page 333.
Hello-World.stubs
     should be HelloWorld.stubs.
	
book.html
| TOC
| CD-ROM
| References
| Errata
| Tutorial Trail Map