CCL Home Page
Up Directory CCL t016.html

Jan K. Labanowski: "Tomcat, servlets, JSPs and other friends"

Java continued

The Hello Word in Java is:
public class HelloWorld {
   public static void main (String [] args) {
       System.out.println("Hello World");
You compile it as:
and run it as:
   java HelloWorld
and as a result, this Java application will respond with a string HelloWorld in your terminal window.

Modified: Wed Feb 13 01:54:44 2002 GMT
Page accessed 2383 times since Tue Feb 4 16:10:33 2003 GMT