1.

What is the output of this program?public class isNaN_Example { public static void main(String args[]) { Double num = new Double(1 / 0.); boolean p = num.isNaN(); System.out.print(p); } }

A. true
B. false
C. 0
D. 1
E. None of these
Answer» C. 0


Discussion

No Comment Found

Related MCQs