Question: Find and fix the errors in the code below: public class Test { public static void main(String[ ] args) { Scanner console = new Scanner(System.in);
Find and fix the errors in the code below:
public class Test {
public static void main(String[ ] args) {
Scanner console = new Scanner(System.in);
int n = console.nextInt();
}
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
