Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Banking System Java Program

image text in transcribed

1. Make sure to separate the application layers into packages. 2. 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. 3. 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. 4. Create a Transaction class with the attributes: transaction Id, transaction date, account number, description, and transaction amount. Add get and set methods. 5. 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. 6. Create a BankingSystem class that will contain the main method. This class will be used to initialize and test the other classes. 7. 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

Learn To Program Databases With Visual Basic 6

Authors: John Smiley

1st Edition

1902745035, 978-1902745039

More Books

Students also viewed these Databases questions