這是我得到異常在線程「主要」 java.lang.Error的:未解決的編譯問題:
Exception in thread "main" java.lang.Error: Unresolved compilation problems:
Scanner cannot be resolved to a type
Scanner cannot be resolved to a type
at hello.main(hello.java:11)
這是我的代碼錯誤。像import java.util.Scanner;
http://docs.oracle.com/javase/tutorial/java/package/usepkgs.html –