convert a int to string in java code example Example: convert a int to string in java String s = String.ValueOf(10); // will return "10"