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:

EBK JAVA PROGRAMMING
8th Edition
ISBN:9781305480537
Author:FARRELL
Publisher:FARRELL
Chapter16: Graphics
Section: Chapter Questions
Problem 2GZ
icon
Related questions
Question

JAVA

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."

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.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Running Time of Application
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781305480537
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,