HELLO
A Java program to say "Hello, world!"


HELLO is a JAVA program which says "Hello, world!".

The easiest way to use this program is on a UNIX system which has the javac compiler and the java program. In that case, you would compile the program as follows:

        javac hello.java
      
Assuming no errors are reported, you would run the program with this command:
        java hello
      
After the second command, you should get the response
        "Hello, world!"
      

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Related Data and Programs:

HELLO is available in a C version and a C++ version and a FORTRAN77 version and a FORTRAN90 version and a Java version and a MATLAB version and an R version.

Reference:

Source Code:

You can go up one level to the Java source code page.


Last revised on 17 May 2009.