Friday, April 8, 2022

Java Program 2: Java Program to Print "Hello World"


Program-

public class MyFirstProgram {

   public static void main(String []args) {

      System.out.println("Hello World"); 

   }

Output-