chagne int to string method code example
Example 1: how to make an int into a string java
int i=10;
String s=String.valueOf(i);
Example 2: java int to string
Integer.toString(n) // converts n to String
int i=10;
String s=String.valueOf(i);
Integer.toString(n) // converts n to String