Answered step by step
Verified Expert Solution
Link Copied!

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:

  1. Make sure to sperate the application layers into packages.
  2. Make sure to document your code with comments.
  3. Create a Customer class with the attributes: customer ID, name, and phone number. Add all of the get and set methods for the attributes.
  4. 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.
  5. Create a Transaction class with the attributes: transaction Id, transaction date, account number, description, and transaction amount. Add get and set methods.
  6. 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.
  7. Create a BankingSystem class that will contain the main method. This class will be used to initialize and test the other classes.
  8. 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 Robb,Carlos Coronel

5th Edition

061906269X, 9780619062699

More Books

Students also viewed these Databases questions