Question: 2. Create variable for the Class BankAccount such as a. account number b. balance c. customername d. email e. phone number 3. Create getters and

2. Create variable for the Class BankAccount such as a. account number b. balance c. customername d. email e. phone number 3. Create getters and setters for each field 4. Two constructors Null constructor and overloaded constructor 5. Create two additional methods a. To allow customers to dep osit funds(this should increment the previous balancefield and display the updated balance for that Customer) b. To allow the customer to withdraw funds. This should deduct from the balance field, but not allow the withdrawal to complete if insufficient funds exist.(It should display the output after a successful withdrawal and updated balance) 6. You will want to create various code in the Main class to confirm that your code is working. 7. There should be a display function that will display the customer balance and last updatedbalance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
