how to convert an int into a string java code example Example: java int to string Integer.toString(n) // converts n to String