1. What two statements are true about the result obtained from calling Math.random()? The result is less than 0.0. The result is greater than or equal to 0.0.. The result is less than 1.0. The result is greater than 1.0. The result is greater than or equal to 1.0.
Ask Your Doubts Here
Comments
By: guest on 02 Jun 2017 01.26 am
(2) and (3) are correct. The result range for random() is 0.0 to < 1.0; 1.0 is not in range.