This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hello, i have a problem with the following question (from javacertivicate.com):
Meanwhile i know that the answer is 31. So i can choose the right answer everytime i see the question, but i still don�t understand what is happening. After x += x << 3; x is 54 After y += z << 2; y should be 25 If i add 54 and 25 i think this should be 79. So why is 31 correct ??