Write the Java class for Account, SavingsAccount and CheckingAccount.
The bank creates and stores the accounts created. It stores all of the accounts in a single ordered collection. The bank is responsible for adding, removing and retrieving the account from the ordered collection. It also prints the data of all the accounts in the ordered collection. Write the Java class for the Bank.
Write a client class, BankApp, which has the following functionality:
ADD: Reads the data and creates an account of the stated type. The account is then stored in the ordered collection.
DEL: Deletes the account from the ordered collection
GET: Retrieves an account from the ordered collection
PRN: Prints all the data from the ordered collection
Number of downloads: 54