Respuesta :
Question Continuation
public class DebugOne3{
public static void main(String args){
System.out.print1n("Over the river");
System.out.pr1ntln("and through the woods");
system.out.println("to Grandmother's house we go");
}
}
Answer:
Line 2: Invalid Syntax for the main method. The main method takes the form
public static void main (String [] args) { }
or
public static void main (String args []) { }
Line 3: The syntax to print is wrong.
To print on a new line, make use of System.out.println(".."); not System.out.print1n();
Line 4:
To print on a new line, make use of System.out.println(".."); not System.out.pr1ntln();
Line 5:
The case of "system" is wrong.
The correct case is sentence case, "System.out.println" without the quotes
The correct program goes, this:
public class DebugOne3{
public static void main(String [] args){
System.out.println("Over the river");
System.out.println("and through the woods");
System.out.println("to Grandmother's house we go");
}
}
Explanation: