使用Integer.parseInt()(最常用、最推荐)这是将String转换为int最直接、最标准的方法,它属于java.lang.Integer类的静态方法,语法intintValue=Integer.parse...