I have the correct answer for the problem,
"Write an expression that generates a random integer between 0 and 10 inclusive.
Random rand = new Random();
int n = ???;"
But when I enter "rand.nextInt(11);" the program tells me this is incorrect. I'm not sure what I am doing wrong here.