A
Q. 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);
}
}
- Correct Answer - Option(D)
- Views: 13
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.