ICSE Class 10 Computer Applications
Question 23 of 76
Revising Basic Java Concepts — Question 27
Back to all questions 27
Question Question 14(k)
State the value and type of each expression.
Math.pow(16, 0.25)The output value is 2.0. The type of expression is double.
Explanation
Math.pow(x, y) returns x raised to the power of y as a double value. Math.pow(16, 0.25) is equivalent to . Hence, output is 2.0 and data type of result is double.