This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
I must solve the following task: There are 2 persons in a bank. 1 Person puts the amount x to an account, the other person withdraws the same amount at the same time from the same account. This is my code so far:
It must be improved. In general it seems to go in the right direction, nevertheless it is not good. Who can help me?