posted 16 years ago
i thibk answer sshd be b and c
b will be negative cause int is again converted back byte
hence higher order bytes r removed
hence answer becomes negative
a>>>5
first of all a is converted to int
as int a is represented as :: 1111 1111 1111 1111 1111 1111 1111 1111
now a>>> 5 will make a : 0000 0111 1111 1111 1111 1111 1111 1111
now a is converted to byte (a = (byte)(a>>>5))
hence a = 1111 1111
or a = -1