Site hosted by Angelfire.com: Build your free website today!

Console Output in Java

The System.out object is defined in each Java program. It has methods for displaying text strings and numbers in plain text format on the system display. For example:

public class Hello
{
    public static void main (String[] args)
    {
        System.out.println (“Hello, World!”);
    }
}