java convert interger to string code example
Example 1: int to string java
int x = 3;
Integer.toString(int)
Example 2: int to string java
int i=10;
String s=String.valueOf(i);//Now it will return "10"
int x = 3;
Integer.toString(int)
int i=10;
String s=String.valueOf(i);//Now it will return "10"