/* *Your name *Date * *Explanation of Program *-Modifying the first program * - print,printf, escape values, arithmetic operators */ public class Welcome1 { //main method begins execution f Java application public static void main (String [] args) { System.out.println("Welcome to Java Programming"); }//end method mai }//end class Welcome1 /* Output copied from display/message windowo * ----jGRASP exec: java Welcome1 *Welcom to Java Programming * *----jGRASP: operation complete. */ in JAVA
Please edit this program in Java and update it
public class Welcome1
{
public static void main(string() args[])
{
system.out.println("Welcome to java programming");
}
......................................................................................................................................................................
output: welcome to java programming
Explanation:
it prints a message that welcome to java programming i.e by declaring the class with acess specifier known as public .
Get Answers For Free
Most questions answered within 1 hours.