Skip to main content

Unit 1 · Using Objects and Methods

Casting and Math.random

Casting and Math.random MCQ Practice

Question 1 of 15

Answered 0 of 15

Choose one answer.

For int values produced by the expression (int) (Math.random() * 6) + 1, what is the full range of possible results?

Choose one answer.