Q. Find the output of the following program.
Code:
public class Solution{
public static void main(String[] args){
short x = 10;
x = x * 5;
System.out.print(x);
}
}
β
Correct Answer: (C)
Compile error