Add to Chrome
✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
What does the following line of code generate?
int random = (int)(Math.random() * 11 + 10);
A random integer value between 10 and 11 (inclusive)
A random number between 0 and 21
A random integer value between 10 and 20 (inclusive)
It will always give the number 10
Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!