how to copy the value of an int into a string in java code example Example: how to make an int into a string java int i=10; String s=String.valueOf(i);