I\'m working on a project where all conversions from int to String are done like this:
int
String
int i = 5; String strI = \"\" + i; >
int i = 5; String strI = \"\" + i;
String strI = String.valueOf(i); String string = Integer.toString(i);
Both of the ways are correct.