(A) and (B)
(D) and (E)
None of the above
-128 to 127
-232 to -231
0 to 32767
0 to 65535
Class, if, void, long, Int, continue
Goto, instanceof, native, finally, default, throws
Try, virtual, throw, final, volatile, transient
Strictfp, constant, super, implements, do
Byte, break, assert, switch, include
Char c1 = 064770;
Char c2 = 'face';
Char c3 = 0xbeef;
Char c4 = \u0022;
Char c5 = '\iface';
Char c6 = '\uface';
-2147483648 and 1
0x80000000 and 0x00000001
-2147483648 and -1
1 and -2147483648
“equal” is printed, “s3 eq s4” is printed.
“equal” is printed only.
“s3 eq s4” is printed only.
Nothing is printed.
The >> operator shifts left and the >>> operator shifts right.
The >> operator shifts right and the >>> operator shifts left.
The >> operator fills the shifted out high order bits based on the sign bit and the >>> operator fills the high order bits with zeros.
The >>> operator fills the shifted out high order bits based on the sign bit and the >>> operator fills the high order bits with zeros.