You are to create a banking Java program/application that will be used by a bank manager and a customer. The program can perform the following tasks: The main( ) creates a menu for a bank manager and...


You are to create a banking Java program/application that will be used by a bank manager and a customer. The program can perform the following tasks:



  1. The main( ) creates a menu for a bank manager and a bank customer. For a bank manager, he/she can add information of bank customers and display all customer records. For a bank customer, he/she can make a deposit to a bank account and withdraw money from the account. Hint: The main ( ) could have a static method that allows a bank manager to add customers’ information to a text file. The information consists of Customer ID, Name (full name), and Email Address. Note that a loop should be used to perform the manager's task. As a result from the process, a text file "BankCustInfo.txt" is created. Also, the main( ) could have another static method that allows the bank manager to display all customer records to the screen.

  2. Create a class, BankCustomer, that contains attributes such as CustomerID and Balance. The class allows a bank customer to make deposits , withdraw money, display the current balance, and calculate the current interest earned. To calculate an interest earned, an object of the AccountType must be created (see the AccountType in #3). Hint: Review the "Aggregation" concept and program example (course, instructor, and textbook classes).

  3. Create a class, AccountType, that has two attributes: AccountID and InterestRate. The interestRate value depends on the AccountD; if the AccountID is 1 then it is a checking account, and the interest rate is 0.01. If the AccountID is 2 then the account is a saving account and the interest rate is 0.02. Note that this class could be a static class. You may do research on use of "static classes."



The Final Project Phase 1 requiresyou to develop classes you need based on the information described above. Use class UML diagrams to present what each class contains and how they are related.

May 31, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here