如int a=Integer.parseInt(f.trim());语句中String 转换成int 时 f要加trim()方法,不然会抛出异常。 相关文章: 2022-03-02 2021-08-16 2022-12-23 2022-12-23 2021-08-03 2022-12-23