integer to string injava code example
Example 1: how to make an int into a string java
int i=10;
String s=String.valueOf(i);
Example 2: java how to cast int to String
int i = 1234;
String s = String.ValueOf(i)
int i=10;
String s=String.valueOf(i);
int i = 1234;
String s = String.ValueOf(i)