✔ 最佳答案
You only have to concatenate with a String, even a null string, to convert a numeric variable such as an integer to a String.
For example, to print an integer ival,
System.out.println("The value of ival is "+ival);
or even
System.out.println(""+ival);
If you need more info, PM me.
2008-05-18 05:12:22 補充:
There is the static String function valueOf(), for example:
int number1=256;
String myString=String.valueOf(number1);