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;
There are various ways of converting to Strings:
StringBuilder string = string.append(i).toString(); String string = String.valueOf(i); String string = Integer.toString(i);