Bank account Write a program that simulates a bank account. A button allows a deposit to be made into the account. The amount is entered into a text field. A second button allows a withdrawal to be made. The amount (the balance) and the state of the account are continually displayed – the state is either OK or overdrawn. Create a class named Account to represent bank accounts. It has methods deposit, withdraw, getCurrentBalance and setCurrentbalance.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here