Home » JAVA Programming » Numbers » Question
  1. What is the signature of Math.random() method?
    1. public void int random()
    2. public static int random()
    3. public static double random()
    4. public void double random()
    5. None of these
Correct Option: C

public static double random() is the utility method provided by Math class which returns double.



Your comments will be displayed only after manual approval.