Scanner scan =new Scanner(System.in); int num1=scan.nextInt(); int num2=scan.nextInt(); System.out.println(num1+num2);控制台输入非数字字符时报错 怎捕捉错误并提示? 查看完整描述