Hello world - Starting to learn java program

Program Description

This is a very simple java program for beginners that demonstrates printing a line of text on the console.

Almost everyone starts learning a new language by writing a Hello World program.
It's one of the simplest program that demonstrates the language syntax and can be easily understood by a beginner.

Program
/***************************************************
*  Hello world - Starting to learn java program
* 
*  code.cheraus.com
****************************************************/

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

Output

Hello world

Comments
comments powered by Disqus