0_0_22760937_30014\Main.java:6: 错误: 需要class, interface或enum
public static void main(String[] args)
^
0_0_22760937_30014\Main.java:9: 错误: 需要class, interface或enum
Scanner scanner=new Scanner(System.in);
^
0_0_22760937_30014\Main.java:10: 错误: 需要class, interface或enum
while(scanner.hasNextInt())
^
0_0_22760937_30014\Main.java:13: 错误: 需要class, interface或enum
b=scanner.nextInt();
^
0_0_22760937_30014\Main.java:14: 错误: 需要class, interface或enum
System.out.println(a+b);
^
0_0_22760937_30014\Main.java:16: 错误: 需要class, interface或enum
}
^
6 个错误
|