java int convert to string code example
Example 1: java int to string
Integer.toString(int)
Example 2: how to convert integer to string' in java
StringBuilder sb = new StringBuilder();
sb.append("");
sb.append(number);
return sb.toString();
Example 3: convert a int to string in java
String s = String.ValueOf(10); // will return "10"