0_0_3217441_32719\Main.java:3: 类 test 是公共的,应在名为 test.java 的文件中声明 public class test { ^ 0_0_3217441_32719\Main.java:11: 不可比较的类型:int 和 <nulltype> if (scan.nextInt() == null) ^ 2 错误