// ******************************************** // Hello.java // // Print a Hello, World message. // ******************************************** public class Hello { // ----------------------------------- // main method -- prints the greeting // ----------------------------------- public static void main (String[] args) { System.out.println ("Welcome, world!"); } }
Compile and run the program to see what it does. (It should run! If it doesn't, you've copied the text incorrectly into Hello.java.) Then make the changes below, providing your answers to the questions in the "Recognizing Errors" section of your lab document. In that section, please number your answers, "2", "3", etc.