The document contains code to handle deposits and withdrawals from a bank account. It checks for a deposit or withdraw string, then prints a message confirming the transaction and new balance after calling the deposit or withdraw method.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
15 views
Java Code
The document contains code to handle deposits and withdrawals from a bank account. It checks for a deposit or withdraw string, then prints a message confirming the transaction and new balance after calling the deposit or withdraw method.