This webpage demonstrates a simple Java program that prints "Hello World" to the console.
The algorithm is as follows:
import java.util.Scanner; class HelloWorld { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.println("Hello World"); } }