1.

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

A. 260.1
B. 260
C. true
D. false
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs