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