Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 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 "BankCustlnfo.txt" is created. Also, the main() could
have another static method that allows the bank manager to display all customer records to the screen.
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).
Create a class, AccountType, that has two attributes: AccountID and InterestRate. The interestRate value depends on the AccountID; 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.
The Final Project Phase 1 requires you 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.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions