What will be the output?

public static void main(String args[]) {
short n=-32768;
short n1=(short)(n-1);
System.out.println(n1);
}

Posted on by