A
Q. What will be the output of the following Java code?
class Output
{
public static void main(String args[])
{
Double i = new Double(257.578);
int x = i.intValue();
System.out.print(x);
}
}
- Correct Answer - Option(D)
- Views: 16
- Filed under category Java
- Hashtags:
Discusssion
Login to discuss.