0_0_38882877_29106\Main.java:6: 错误: 需要class, interface或enum
public static void main(String[] args){
^
0_0_38882877_29106\Main.java:8: 错误: 需要class, interface或enum
int a=0,b=0;
^
0_0_38882877_29106\Main.java:9: 错误: 需要class, interface或enum
while (scanner.hasNextInt()&&scanner.hasNextInt()){
^
0_0_38882877_29106\Main.java:11: 错误: 需要class, interface或enum
b=scanner.nextInt();
^
0_0_38882877_29106\Main.java:12: 错误: 需要class, interface或enum
System.out.println(a+b);
^
0_0_38882877_29106\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_38882877_29106\Main.java:15: 错误: 需要class, interface或enum
}
^
7 个错误
|