FileDocCategorySizeDatePackage
Hello.javaAPI DocExample713Mon Sep 22 13:30:30 BST 1997None

Hello.java

// This example is from _Java Examples in a Nutshell_. (http://www.oreilly.com)
// Copyright (c) 1997 by David Flanagan
// This example is provided WITHOUT ANY WARRANTY either expressed or implied.
// You may study, use, modify, and distribute it for non-commercial purposes.
// For any commercial use, see http://www.davidflanagan.com/javaexamples

public class Hello {                       // Everything in Java is a class
  public static void main(String[] args) { // All programs must have main()
    System.out.println("Hello World!");    // Say hello!
  }                                        // This marks the end of main()
}                                          // Marks the end of the Hello class