Computer Science, asked by asmitaghosh249, 4 months ago

Explain the function of Math.random( ). In which package does Math class belong to?​

Answers

Answered by mk4482623satyam
2

Answer:

the function return a random number between 0 and 1 . it return a double data type value. package is java.math.

Answered by shabanamdevi80
0

random() is a function of the java. lang. Math class. The Math class in java is present in the java.

Similar questions