M251 - Object Oriented Programming Using Java - Simple Class Diagram - IT Assignment Help

Download Solution Order New Solution
Assignment Task

 

Overview:
A new bank wants to make a simple application to keep track of all accounts and transactions. In this TMA, it is required to help the bank manager implement the required application.

Requirements:
After a quick meeting with the bank manager, you got the following information:
- It is required to store all bank accounts in one collection and all the transactions happened in another collection.
- Each account has a unique account number, a holder and balance. There is a specific prefix (common for all accounts) that should be added to the holder's civil id to create the unique account number. In addition, it is not allowed for a holder to have more than one account. Furthermore, only three transactions are allowed on any account: deposit, withdrawal and transfer money to another account.
- Each holder has a unique civil ID (national id), a name and other attributes (add at least 2 attributes from your choice).
- For each transaction, it is required to store the account(s) affected, amount of money, date, and if they are successful. There are 3 types of transactions: deposit, withdrawal and transfer.
Moreover, you have been informed that the following operations happen frequently:
- Creating a new account
- Deposit money into a specified account
- Withdrawal money from a specified account
- Transfer money between two specified accounts
- Printing details of the transaction where the maximum amount of money has been transferred between 2 accounts
- Saving all accounts and transactions into a text file.

For accounts, they should be sorted in ascending order (according to the civil id)
 

Analysis:
Q1: There are common attributes and methods between the three types of transactions. What is the best choice for designing and writing their codes? Explain your answer.
Q2: Draw a simple class diagram showing only relationships between the classes.

 

This M251 - IT Assignment has been solved by our IT experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.