Java Program To Print "Hello World!"


First Program to kick start your career in JAVA Programming.

  1. //Java program to print "Hello World!"
  2. public class Main
  3. {
  4. public static void main(String[] args) {
  5. System.out.println("Hello World!");
  6. }
  7. }

Output

Output!