class while1 { public static void main(String args[]) { //Caution : This program will run into infinite loop //So press "ctrl C" to stop execution. while(true) { System.out.println("Welcome !"); } } }