Q286
What will be the output of the following Java code? class isNaN_output public static void main(String args[]) Double d = new Double(1 / 0.); boolean x = d.isNaN(); System.out.print(x);
A.
0
B.
1
C.
true
D.
false
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board