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.
I'm confused!!! I have compiled this code and I don't get the same results manually. Can someone please explain the following: n = 7; n = n & n + 1 | n + 2 ^ n + 3; n = 57; Here's how I'm figuring this out: n = 7; n = ( n & n ) + ( 1 | n ) + ( 2 ^ n ) + 3; n = 56 + 57 + 58 + 3; n = 174; So, why isn't this right? Thanks for the help!