Java Program to Print Welcome
Program should simply display "Welcome".
Sample Output 1:
Program or Solution
System.out.println is a function available(pre defined) in java library which is used to print the specified content in the monitor Here it prints the String literal "Welcome".