0542-2316689 | [email protected]

Print Hello world in Java

  • Here we start with the first Program to Print Hello world in Java.
    A basic program Hello world in Java, that displays “Hello, World!”. It’s mostly used to illustrate the syntax of the language.

    To understand this example, you should have the knowledge of following Java programming topics:

    Classes in Java

Java Program to Print Hello World

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

Output

Hello World!

0 responses on "Print Hello world in Java"

Leave a Message

Your email address will not be published. Required fields are marked *

© 2017-18 TCA