1. Java Math class provides several ________ to work on math calculations like min(), max(), avg(),
2. The _____ class contains various methods for performing basic numeric operations such as the logarithm, cube root, and trigonometric functions etc
3. Match the the Math Method to its corresponding description.
4. Match the the Math Method to its corresponding description.
5. Match the the Math Method to its corresponding description.
6. Match the the Math Method to its corresponding description.
7. What is the output of the following code?
public class MyClass {
public static void main(String[] args) {
System.out.println(Math.max(5, 10));
}
}
8. The output of the following code is 4.00
9. Fill in the blanks to find the highest value of x and y.
int x = 5;
int y = 10;
Math._____(x, y);
10. The following code would accurately find the square root of x.
11. Use the correct method to return a random number between 0 (inclusive), and 1 (exclusive). What needs to be added?