Does it compile, run, and provide correct results?
If you update the balance with the transaction first, then the balance will reflect the balance after the transaction. Call the method first...
Type: Posts; User: jps
Does it compile, run, and provide correct results?
If you update the balance with the transaction first, then the balance will reflect the balance after the transaction. Call the method first...
The posted code has multiple errors, does not compile, and seems to be missing parts. It would be easier to tell you how the code works if you posted code that compiles.
Do you instructions...