What will be the output of the program?


			  		

Loading

Choose the correct option.

What will be the output of the program?

class BitShift  {     
public static void main(String [] args){
int x = 0x80000000;
System.out.print(x + " and ");
x = x >>> 31;
System.out.println(x);
}
}

 

A. -2147483648 and 1
B. 0x80000000 and 0x00000001
C. -2147483648 and -1
D. 1 and -2147483648