Welcome to the Treehouse Community
Looking to learn something new?
Random randomGenerator = new Random(); int randomNumber = randomGenerator.nextInt(10); String intAsString = (String)randomNumber;
Aaron Kaye10,936 Points
Please provide more detail. I am guessing you are getting a compiler error on the last objective. I do not think you can cast directly from an int to a String, instead what the objective wants you to do is:
String intAsString = randomNumber + "";