public static int to String java code example Example: public static int to String java public static int x = 3; Integer.toString(int)