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