Integer.toString(num) code example Example: integer.tostring java int myInt = 42; String myIntString = myInt.toString();