What is the output of the following program?
Class Upwork{
Public static void main(string args[])
{
Byte x = 64;
Int I;
Byte y;
i = x << 2
y = (byte) (x << 2)
system.out.print(I + “” + y);
}
}
Correct Answer: 256 0
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More Java MCQ Questions