Parag, This is because an int is a 32-bit value, and because the >> operator propegates the high-order bit as it shifts back. Here is a breakdown of what is happening.
HTH, -Nate
-Nate
Write once, run anywhere, because there's nowhere to hide! - /. A.C.