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.
Chris and Tony There is an implicit cast included in all of the compound assignment operators ( +=, -=, *=, etc...). http://java.sun.com/docs/books/jls/second_edition/html/expressions.doc.html#5304 The example Tony gave byte result = 255; result *= 2; wont compile, because your initially trying to put a value into a byte that is too large to begin with. However, this will compile: byte result = 120; result *= 2; and it prints -16, this is because it looses precisoin on the implicit cast. hope this clears it up Dave