IN JAVA
BankDriver class: This class contains the main method, and will display the menu of op

ons
in a loop un

l the user chooses to quit. For each menu op

on
,
there should be a method to
complete the task. Your main class should be minimalis

c
,
and only include the tasks for the
menu loop and closing tasks.
Global variables:

Scanner object

A Customer array that holds
2
0
customers.
Sta

c methods:

createNewCustomer
-
This method will get the customers full name and social security
number. Since customer name is stored as first and last name, you will need to substring
it down into the first and last name. Create a Customer object and store that object into
the Customer array and increase the array size. Since the only input here are Strings, no
data valida

on is necessary. However, you must enter the user

s full name correctly.

createAccount
-
This method gets the customer ID and deposit amount, as well as the
account type. It should then search the Customer array for the correct customer ID and
call the addAccount method in Customer and store it in the array at the appropriate
index, based on the customer ID
.
Validate customer ID for type and range. Validate
deposit amount and account type for data type.

deposit
-
This method will get the account number of the customer and the deposit
amount. It will then search the Customer array for a matching ID Number. If a match,
then it will search the accounts array and for each account, it will:
o retrieve the account number
o Output the account number and ask if it is the correct account.
o If the user says yes then call the deposit method from the account class for that
customer
o Validate customer ID for type and range. Validate deposit amount for type.

withdraw
-
Do the same for withdraw as you did for deposit except call the withdraw
method form the account class for that customer. Validate customer ID for type and
range. Validate withdraw amount for type.

createCD
-
This method will create a CD for the correct customer based on customer ID
.
This method will prompt the user for the customer ID and deposit amount. It will then
search the Customer array for the correct customer based on customer ID
.
If it locates
the correct customer, it will concatenate the first and last name to combine into the