Convert an int value to String: concatenate string to an int value
public class Main { public static void main(String[] args) { int i = 50; String str = "" + i; System.out.println(str + " : " + ("" + i).getClass()); } } // 50 : class java.lang.String