how to add int into string format java code example Example: java int to string Integer.toString(n) // converts n to String