扫描程序抛出此异常,以指示检索到的令牌与预期类型的模式不匹配,或者令牌超出预期类型的范围。
String imer = input.next();// Use for String Inputinput.nextLine();//Use for next line of inputint cenar = input.nextInt();

扫描程序抛出此异常,以指示检索到的令牌与预期类型的模式不匹配,或者令牌超出预期类型的范围。
String imer = input.next();// Use for String Inputinput.nextLine();//Use for next line of inputint cenar = input.nextInt();