InterviewSolution
Saved Bookmarks
| 1. |
What is the range of numbers returned by Math.random() method?(a) -1.0 to 1.0(b) -1 to 1(c) 0 to 100(d) 0.0 to 1.0 |
|
Answer» Right option is (d) 0.0 to 1.0 Explanation: Math.random() returns only double value greater than or equal to 0.0 and less than 1.0. |
|