常用 通过包装类Integer.toString()将整型转换为字符串; 通过Integer.parseInt()将字符串转换为int类型; 通过valueOf()方法把字符串转换为包装类然后通过自动拆箱。 相关文章: