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