Explain the function of Math.random( ). In which package does Math class belong to?
Answers
Answered by
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
0
random() is a function of the java. lang. Math class. The Math class in java is present in the java.
Similar questions
Computer Science,
1 month ago
Hindi,
1 month ago
Hindi,
4 months ago
Math,
10 months ago
Computer Science,
10 months ago
Science,
10 months ago