Hi Susmita,
Java uses two's complement arithmetic which means the left-most bit represents the sign: 0 for positive, 1 for negative.
Check out
Cat and Mouse Games with Bits for more info.
Hope that helps.
------------------
Jane Griscti
Sun Certified Programmer for the Java� 2 Platform