This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Integer.MIN_VALUE = 80000000 Byte.MIN_VALUE = 80 = 10000000 when applying the >>> to the byte, it first gets promoted to int then get shifted. after being shifted because of >>>= it gets implecitly casted back to byte so the value gets truncated. the output of this code should make you understand what happens.
[ October 14, 2002: Message edited by: Alfred Kemety ]