how to write integer value in string in java code example
Example 1: how to convert integer to string in java
int x = 3
String s = x + "";
Example 2: how to convert integer to string' in java
StringBuilder sb = new StringBuilder();
sb.append("");
sb.append(number);
return sb.toString();