将String转换为int
String j = "1"; int i = Integer.parseInt(j);
将int转换为String
int i = 1; String j = String.valueOf(i);