Q. What will be the output for the below code ?
Code:
public class Test
{
public static void main(String[] args)
{
byte i = 128;
System.out.println(i);
}
}
β
Correct Answer: (C)
Compilation fails with an error at line 3