Vidyalelo
Java Programming · Q118

Interfaces and Abstract Classes

Programming · Java Programming · question 118

Q118

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

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

Answer: Option B

Solution

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