Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Java Program- NetBeans This lab is the first step in creating an online banking system. It will be the foundation for the remaining labs. It
Java Program- NetBeans
This lab is the first step in creating an online banking system. It will be the foundation for the remaining labs. It is a standalone application. The requirements are as follows:
- Make sure to sperate the application layers into packages.
- Make sure to document your code with comments.
- Create a Customer class with the attributes: customer ID, name, and phone number. Add all of the get and set methods for the attributes.
- Create an Account hierarchy. There will be two types of Accounts: Asset and Liability. At this point, both types of classes will have the same attributes: account number, customer ID, account name and date opened. Add the get and set methods for each attribute.
- Create a Transaction class with the attributes: transaction Id, transaction date, account number, description, and transaction amount. Add get and set methods.
- 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.
- Create a BankingSystem class that will contain the main method. This class will be used to initialize and test the other classes.
- 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
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