Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Bank Program (Java) Write a program to simulate a bank which includes the following: Create the following classes:|| Bank Customer 0 Account At a minimum
Bank Program (Java) Write a program to simulate a bank which includes the following: Create the following classes:|| Bank Customer 0 Account At a minimum include the following data fields for each class: o Bank . Routing number O Customer First name Last name Account (Note that the Customer class must contain an account class within the customer class.) Account Account number Balance Minimum balance Overdraft fee At a minimum write the following methods for each class: O Bank (public static void main(String] args) . Create new customer O Customer OpenAccount . CloseAccount 0 Account GetBalance DepositFunds WithdrawFunds PrintAccountInfo The Bank class is the class that should contain the main program. In the main program is where you should include transactions to demonstrate the functionality of the bank, such as calling each method. (deposit funds, withdraw funds, print balance, etc.) You may perform the functionality one of two ways; Include user prompts for the user to enter choices via a menu through keyboard input. (as we did in our word search program); or Include in-line operations directly in the code, as we did in the Meal Plan program. Please Include a commented header section at the top of each class file which includes your name, and a brief description of the class and program. Bank Program (Java) Write a program to simulate a bank which includes the following: Create the following classes:|| Bank Customer 0 Account At a minimum include the following data fields for each class: o Bank . Routing number O Customer First name Last name Account (Note that the Customer class must contain an account class within the customer class.) Account Account number Balance Minimum balance Overdraft fee At a minimum write the following methods for each class: O Bank (public static void main(String] args) . Create new customer O Customer OpenAccount . CloseAccount 0 Account GetBalance DepositFunds WithdrawFunds PrintAccountInfo The Bank class is the class that should contain the main program. In the main program is where you should include transactions to demonstrate the functionality of the bank, such as calling each method. (deposit funds, withdraw funds, print balance, etc.) You may perform the functionality one of two ways; Include user prompts for the user to enter choices via a menu through keyboard input. (as we did in our word search program); or Include in-line operations directly in the code, as we did in the Meal Plan program. Please Include a commented header section at the top of each class file which includes your name, and a brief description of the class and program
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started