Q. What will be output of the following program code?
Code:
public class Test{
public static void main(String[] a){
short x = 10;
x = x*5;
System.out.print(x);
}
}
β
Correct Answer: (C)
Compilation Error