Predict the output of the following Java program snippet:
System.out.println(Math.sqrt(Math.min(42.5,42.25)));
26 Likes
6.5
Math.min(42.5,42.25) gives 42.25. Math.sqrt(42.25) gives output as 6.5.
Answered By
12 Likes