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
最新推荐文章于 2025-06-12 08:19:45 发布
public class experiment {
public static void main(String[] Zing) {
String str = "11212";
int b = Integer.valueOf(str).intValue();
System.out.println(b);
}
}