Answered step by step
Verified Expert Solution
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
- The Account class
- The Customer class
- The Transaction class
- The main program
- 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.
- 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
- The Transaction. It will have transactionID and transactionType attributes. This class will keep track of customer transactions and perform the following
- Deposit: This member function will update the balance in the Account class
- 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
- CheckBalance: will retrieve the balance in the Account class
- Design the main so that it have a menu that allows the user to perform the above tasks
- 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
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