Question
This is all one problem it's just defining the requirements. This is for a standalone application and it's supposed to be done in Java 1.Make
This is all one problem it's just defining the requirements. This is for a standalone application and it's supposed to be done in Java
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.
**only the business class can access it's data access layer, the main method will have to call the business layer not the data layer
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started