java-integer2string, java-numeric2string , java-val,java-string
int variableName=1;
String mString=Integer.toString(variableName);
1. String stringValue = Integer.toString(12345);
2. String stringValue = String.valueOf(12345);
3. String stringValue = new String(""+12345);
沒有留言:
張貼留言