number to string java

Java
int d = 1234; 
Integer obj = new Integer(d); 
String str4 = obj.toString();
interger.ToString(int)
Source

Also in Java: