Hello World Program in Java

Write a Program to Print Hello World || Print Hello World In Java

 Hello friends, in this article I am discussing the some java code which are useful for you or any person and programmer.

The code will be vey simple and run in very less time interval, here all codes is running on the all platform like – One Compiler, IDE for JAVA and some other platforms are available on the internet.

Hello World Program in Java

 

 

So first of I have write the program for print HELLO WORLD in JAVA Language.

Q 1.) Write a Program for Print the Hello World.

class A

{

public static void main (String args[])

{

System.out.println(“HELLO WORLD”);

}

}

Here Output is :-

HELLO WORLD

 

 

Here staring the class A which is main class which contains the main function, then open the curly brackets then closed at last.

So again we are use main function and open bracket and close the curly brackets.

And then we are use System.out.println() for printing Hello World.

Previous Post Next Post

Contact Form