public class MainClass{ public static void main(String[] argv){ short s2 = 33000 ; // out of range for short primitive } }
Type mismatch: cannot convert from int to short