// illustration of alternatives from the Dukulator lab (Lab17) public class TestConversion { public static void main (String args []) { int number; String result; number = 365; // this is simplest solutiona result = " " + number; System.out.println (result); // this solution works result = Integer.toString(number); System.out.println (result); // the following solution doesn't work result = null; result = result + number; System.out.println (result); } }