String转int
public class Demo { static String a="2"; int c=Integer.parseInt(a); public static void main(String[] args) { System.out.println(new String(a)); } }
2
String转int
public class Demo { static String a="2"; int c=Integer.parseInt(a); public static void main(String[] args) { System.out.println(new String(a)); } }
2