Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA PROGRAMMING: You need to write an application that manage bank accounts for customers and their transactions. The different components of the program are The

JAVA PROGRAMMING:

You need to write an application that manage bank accounts for customers and their transactions. The different components of the program are

  1. The Account class
  2. The Customer class
  3. The Transaction class
  4. The main program

  1. The Customer class will have the customers information. It will keep track of customerID, CustomerName, Address, and phoneNumber. A customer will have a bank account.
  2. The Account class will have information about customer account. It will keep track of accountNumber and balance. The responsibilities for this to maintain the balance depending on the transactions in the transaction class
  3. The Transaction. It will have transactionID and transactionType attributes. This class will keep track of customer transactions and perform the following

  1. Deposit: This member function will update the balance in the Account class
  2. Withdraw: This member function will update the balance in the Account class. The balance can be over drafted up to $1000. If there is an overdraft, the customer should be notified and agree on the transaction
  3. CheckBalance: will retrieve the balance in the Account class

  1. Design the main so that it have a menu that allows the user to perform the above tasks
  2. You need to writer constructors and destructors, get functions (to retrieve appropriate attributes) and set functions (to set attribute values) for each class. And any other required functions to perform the requirements
  • The parameters and return types of each function and class member function should be decided in advance (during the analysis and design phase).
  • Think about what attributes to include in each class
  • Think of useful member functions for each class

Important Notes:

Apply all concepts you learned in developing high-level routines

Design GUI interface for the application

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

User Defined Tensor Data Analysis

Authors: Bin Dong ,Kesheng Wu ,Suren Byna

1st Edition

3030707490, 978-3030707491

More Books

Students also viewed these Databases questions

Question

Do you think that project evaluations cost-justify themselves?

Answered: 1 week ago