Vidyalelo
Java Programming · Q80

Interfaces and Abstract Classes

Programming · Java Programming · question 80

Q80

What will be the output of the following Java program? class Output public static void main(String args[]) Integer i = new Integer(257); float x = i.floatValue(); System.out.print(x);

A.
0
B.
1
C.
257
D.
257.0
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board