You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.
import java.util.Scanner;
public class A {
public static void main(String args[]){
System.out.println("hello!");
Scanner cin = new Scanner(System.in);
int fk = cin.nextInt();
System.out.println(fk);
}
}
error:
lxr@lxr-ThinkStation-P310:~/mycode/pfff$ ./codegraph -lang java -build /home/lxr/A.java
(ONCE) PB: wrong import: java.util.Scanner
PB: lookup fail on Package: String2 (in Method: A.main)
PB: lookup fail on Package: java2.util2.Scanner2 (in Method: A.main)
PB: lookup fail on Package: System2.out2 (in Method: A.main)
nb nodes = 13, nb edges = 4
parse errors = 0
lookup fail = 0
unresolved method calls = 0
(resolved method calls = 0)
unresolved field access = 0
(resolved field access) = 0)
unresolved class access = 0
unresolved calls = 0
I do not know where the problem is.
My java version is 1.8.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
java code:
error:
I do not know where the problem is.
My java version is 1.8.
The text was updated successfully, but these errors were encountered: