public class experiment {
public static void main(String[] Zing) {
String str = "11212";
int b = Integer.valueOf(str).intValue();
System.out.println(b);
}
}
JAVA String转int
最新推荐文章于 2024-03-21 09:51:03 发布
public class experiment {
public static void main(String[] Zing) {
String str = "11212";
int b = Integer.valueOf(str).intValue();
System.out.println(b);
}
}