Write a Program to print Hello, World! in JAVA

A program to print “Hello, World!” in JAVA

Working example

/*
 * FileName : "HelloWorld.java".
 */
class HelloWorld
{
  // Program execution begins with main() method
  public static void main(String args[])
  {
    System.out.println("Hello, World!");
  }
}

Output

 Hello, World!
Vishnu Damwala
Vishnu Damwala

A web geek, an industry experienced web developer & tutor/instructor residing in India 🇮🇳