import java.util.*;
public class scanner {
public static void main(String[] args) {
int x;
int y;
Scanner sc = new Scanner(System.in);
System.out.println("go");
x = sc.nextInt();
y = x+1;
}
}
C:\prolog>javac scanner.java
scanner.java:6: cannot resolve symbol
symbol : class Scanner
location: class scanner
Scanner sc = new Scanner(System.in);
^
scanner.java:6: cannot resolve symbol
symbol : class Scanner
location: class scanner
Scanner sc = new Scanner(System.in);
^
2 errors
kann jemand helfen???
Was sollte ich machen?