how to convert integer to string in return code example Example: int to string java int x = 3; Integer.toString(int)