Pageviews

Sunday 18 August 2013

Hello World Program in JAVA

by Unknown  |  in Source Codes at  Sunday, August 18, 2013

This is the first program which is always taught to every Programmer,so here we are also continuing the same tradition,here is the source code of displaying "Hello World" in Java.

Java Hello World Program:

class HelloWorld
{
public static void main(String args[])
{
System.out.println("Hello World");
}
}

Output of the program:

HelloWorld


You can add anything in the doubles quotes of the println statement to display text of your own choice.

0 comments:

Proudly Powered by Blogger.