S

Shiva Ram • 30.44K Points
Instructor I

Q. What will be the output of the following Java program?
class Output
{
    public static void main(String args[])
    {
        Double i = new Double(257.5);  
        Double x = i.MIN_VALUE;
        System.out.print(x);
    }
}

  • (A) 0
  • (B) 4.9E-324
  • (C) 1.7976931348623157E308
  • (D) None of the mentioned
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category JAVA

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics