Question: Java !ustomer l ransactions !'a 55! This is the class with your main method. ' In this class, you will declare 5 Account objects and
Java

!ustomer l ransactions !'a 55! This is the class with your main method. ' In this class, you will declare 5 Account objects and 5 CertificateofDeposit objects, as well as the Scanner object as global variables, Set the 10 accounts to null. Methods: displayMenu()- This method defines the output for the main menu and then accepts and returns the input from the user. Welcome to ISU Bank. What would you like to do? 1- Open an account 2- Make a deposit 3- Make a withdraw 4- Create a Certificate of Deposit 5- Display account information 6- Display CD information 7- Quit FTITD U TR o e e e e e e T G s o o o i ki, o e ! . B e e s Make your selection: createAccount()- This method is called when the user chooses option 1. It is also called when option 4 is selected, but the user does not have an account. It accepts a null valued Account object. It will then instantiate that object, and call the toString for the account to output the details of the account. O Prompt for first and last name and then store the concatenated name into a name variable. Prompt for the deposit amount. _Prompt for the tvpe: checking or savings
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
