public static boolean isNumeric00(String str){ try{ Integer.parseInt(str); return true; }catch(NumberFormatException e) { System.out.println("异常:"" + str + ""不是数字/整数..."); return false; } }