Q. 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);
}
}
class Output
{
public static void main(String args[])
{
Double i = new Double(257.5);
Double x = i.MAX_VALUE;
System.out.print(x);
}
}
β
Correct Answer: (B)
SystemException