How to do "HELLO WORLD" in Java

 

Post 1 :

  

 Steps to say “Hello, World” in Java are given below:

  • Create a class HelloWorld.
  • Declare the main method in the class “HelloWorld”.
  • Output the message “Hello, World” using System.out.println.
  • Compile and execute the program to see the “Hello, World” message.

See below a screencast of the code

 

 

Comments

Post a Comment