Java整数和字符串之间的相互转换代码
String a = String.valueOf(2); //integer to numeric string int i = Integer.parseInt(a); //numeric string to an int
Java整数和字符串之间的相互转换代码
String a = String.valueOf(2); //integer to numeric string int i = Integer.parseInt(a); //numeric string to an int