R
Q. What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
Double i = new Double(257.578123456789);
float x = i.floatValue();
System.out.print(x);
}
}
- Correct Answer - Option(C)
- Views: 30
- Filed under category JAVA
Discusssion
Login to discuss.