Integer.parseInt()并不会先给你trim()再做解析 Leave a Comment / Java / August 20, 2008 August 20, 2008 如 Integer.parseInt(" 5 ") ,会抛出异常