Give the output of the following functions:
i) Math.max ( 11.6, 15.3)
ii) Math.sqxt ( 625)
in java
Answers
Answered by
2
Explanation:
i) 15.3
ii) 25..0
Please mark me Brainliest and follow
Answered by
0
Java Math max() method with Examples
The Java.lang.math.max() function is an inbuilt function in Java which returns maximum of two numbers. The arguments are taken in int, double, float and long.If a negative and a positive number is passed as argument then the positive result is generated. And if both parameters passed are negative then the number with the lower magnitude is generated as result.
Similar questions