Saved Bookmarks
| 1. |
What is the result of the below Java code? |
|
Answer» public class InterviewbitProblem{ public static void main(String[] args) { System.out.println(Math.min(Double.MIN_VALUE, 0.0d)); } } We should know that in Java, for the type Double, the MIN_VALUE and MAX_VALUE are positive numbers. The Double.MIN_VALUE has the value of 2-1074{"detectHand":false} which is a positive number but the least of all values belonging to the Double class.
|
|