Hi Praveena.
The answer is wrong.
for example,
-1 >>> 1 //unsigned right shift by one place
this evaluates to 2147483647, which is a very big positive nubmer, indeed there is none larger for an int.
Why? Well, you have to understand that the bitshift operators are operating on the numbers in their natural binary form. In binary, an int equal to -1 is represented thusly:
11111111111111111111111111111111 (32 bits).
When you right shift unsigned, you shift in zeros into the high order bit. so -1 >>> 1 is 11111111111111111111111111111111
>>>1 which is
01111111111111111111111111111111
This number in decimal is 2147483647.
In fact, ANY time you do an unsigned right shift, you end up with a postive number, because the only way a number can be negative is if the high-order bit is ONE, and when you do an unsigned shift, you always shift in a ZERO.
hope this helps!
Rob