Question: Appendix A: Banking program (This program is available for downloading) Write your code as indicated. This code will not compile until you complete writing your



![TestBank { public static void main(String[] args){ Bank bank = new Bank();](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f3e756e7d2a_50266f3e7568505f.jpg)


Appendix A: Banking program
(This program is available for downloading)
Write your code as indicated. This code will not compile until you complete writing your code.
You should not modify the TestBank class.
public class TestBank { public static void main(String[] args){
Bank bank = new Bank();
bank.enterCustomers();
System.out.println();
System.out.println("==========================");
System.out.println("Opening account balance");
bank.printBalances();
System.out.println();
bank.banking();
System.out.println();
System.out.println("==========================");
System.out.println("Closing account balance");
bank.printBalances(); } }
class Bank { // write your code here }
class Account { // write your code here }
Banking Program You will create two Java classes to support the test program TestBank.java, which is provided in Appendix A. You will create two classes, Account and Bank. You should not modify the TestBank class as provided. Task 1: Account class You create your Account class according to the following requirements. Two attributes: name and balance to store customer's name and balance. They should not be directly accessed outside of the class; 1. 2. A constructor with two parameters for the name and balance 3. Two getter methods: getName and getBalance
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
