Assume x is an int variable, and rand references a Random object. What does the following statement

Question:

Assume x is an int variable, and rand references a Random object. What does the following statement do? 

x = rand.nextInt(9) + 1;

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: