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
I have been asked this question in semester exam.
The question is from Random Number topic in section java.util – More Utility Classes of Java