Output
  1  // This application program prints Welcome to Java!
  2  public class Welcome {
  3    public static void main(String[] args) {
  4      System.out.println("Welcome to Java!");
  5    }
  6  }