Home » JAVA Programming » Numbers » Question
  1. What is the return type of Math.random() method?
    1. String
    2. Boolean
    3. Double
    4. Integer
    5. None of these
Correct Option: C

Math.random() method returns floating point number or precisely a double.



Your comments will be displayed only after manual approval.