Repeat the previous project, but use the following program:
public class Welcome2
{
public static void main(String[] args)
String name = "Dawn";
System.out.println("Welcome to Java, " + name + "!");
} // end main
} // end Welcome2
The file names and commands must use Welcome2 instead of Welcome. Replace “Dawn” with your name.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here