0_0_39404042_8728\Main.java:1: 错误: 需要class, interface或enum
Scanner scanner =new Scanner(System.in);
^
0_0_39404042_8728\Main.java:2: 错误: 需要class, interface或enum
while(scanner.hasNext()){
^
0_0_39404042_8728\Main.java:4: 错误: 需要class, interface或enum
int b= scanner.nextInt();
^
0_0_39404042_8728\Main.java:5: 错误: 需要class, interface或enum
System.out.println(a+b);
^
4 个错误
|