基本数据类型和字符串之间的转换 //下面的代码把数字转换成字符串 int i = 5; String string = new Integer(i).toString(); String string2 = String.valueOf(i);
?