Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Java Program Make sure to separate the application layers into packages. 1. Create a Customer class with the attributes: customer ID, first name, last name,

Java Program Make sure to separate the application layers into packages. 1. Create a Customer class with the attributes: customer ID, first name, last name, and phone number. Add all of the get and set methods for the attributes. 2. Create an Account hierarchy. There will be two types of Accounts: Asset and Liability. The common attributes are: account number, customer ID, account name and date opened. Asset will have the attributes: interest rate and transaction fee. Liability will have the attributes interest rate, monthly payment, and payment date. Add the get and set methods for each attribute. 3. Create a Transaction class with the attributes: transaction Id, transaction date, account number, description, and transaction amount. Add get and set methods. 4. Create a Data Access class for each of the business layer classes. These classes will be used maintain an ArrayList of objects. Add an initialize method to instantiate the initial set of objects for each class. They should also have the appropriate add and search methods. 5. Create a BankingSystem class that will contain the main method. This class will be used to initialize and test the other classes. 6. Add at least two customers, at least two accounts per customer, and at least three transactions per account. Using console output, write out a list of customers with the accounts for each customer, and the transactions for each account. Display the running balance for each account.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions