1.

What is the output of this program?
public class Result
{
public static void main(String args[])
{
Integer n = new Integer(260);
float p = n.floatValue();
System.out.print(p);
}
}

A. 250
B. 250.0
C. 260
D. 260.0
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs