KellyPoima
New member
What will be the output of the following Java program?
A. 0
B. 1
C. 256
D. 257
Code:
class Output
{
public static void main(String args[])
{
Integer i = new Integer(257);
byte x = i.byteValue();
System.out.print(x);
}
}
B. 1
C. 256
D. 257