Output Questions for Class 10 ICSE Computer Applications
Predict the output of the following:
System.out.println(Math.cbrt(42.875));
Java
Java Math Lib Methods
42 Likes
Answer
3.5
Working
Math.cbrt method returns the cube root of its argument as a double value. Cube root of 42.875 is 3.5 so it is the output.
Answered By
24 Likes