Review and fix the errors in the following code segment. 1. public class Task 3 { 2. public static main(String args) { 3
Posted: Tue Jul 12, 2022 8:17 am
Review and fix the errors in the following code segment. 1. public class Task 3 { 2. public static main(String args) { 3. System.println ("Hello, world!); 4. message() 5. } 6. public static void message { 7. System.out println ("THe program surely can not" 8. System.out.println ( "have any errors" in it"); 9. } ►