Vidyalelo
Java Programming · Q97

Interfaces and Abstract Classes

Programming · Java Programming · question 97

Q97

What will be the output of the following Java code? class Output public static void main(String args[]) Double i = new Double(257.5); Double x = i.MAX_VALUE; System.out.print(x);

A.
0
B.
1.7976931348623157E308
Answer
C.
1.7976931348623157E30
D.
None of the mentioned

Answer: Option B

Solution

Answer: Option B
No explanation is given for this question Let's Discuss on Board