how to turn ints into strings in java code example Example 1: int to string java int x = 3; Integer.toString(int) Example 2: java string from int String.valueOf(i)