java int to string

Java
int x = 3;

Integer.toString(int) int c = 1234; 
String str3 = String.valueOf(c); 
int d = 1234; 
Integer obj = new Integer(d); 
String str4 = obj.toString();
String s = Integer(x).toString();	//converts a int x to a String sinterger.ToString(int)class GfG 
{ 
  public static void main(String args[]) 
  { 
    int a = 1234; 
    int b = -1234; 
    String str1 = Integer.toString(a); 
    String str2 = Integer.toString(b); 
    System.out.println("String str1 = " + str1);  
    System.out.println("String str2 = " + str2); 
  } 
}  

Source

Also in Java: