5.2 ood. Deakin University S 326
Practical Task 5.2
(Pass Task)
Submission deadline: 10:00am Monday, April 26
Discussion deadline: 10:00pm Friday, May 14
General Instructions
This practical task asks you to further extend the banking system by adding transaction classes to perform
deposit and withdraw operations on a given bank account. In addition, your task is to complement the system
...[Show More]
5.2 ood. Deakin University S 326
Practical Task 5.2
(Pass Task)
Submission deadline: 10:00am Monday, April 26
Discussion deadline: 10:00pm Friday, May 14
General Instructions
This practical task asks you to further extend the banking system by adding transaction classes to perform
deposit and withdraw operations on a given bank account. In addition, your task is to complement the system
with a new operation required to transfer money between two accounts. This all needs development of three
new classes: WithdrawTransaction, DepositTransaction, and TransferTransaction. Objects of these
classes can then be used to retain the history of transactions that have occurred. You will implement a
mechanism to keep transaction history in the next task. For now, you will only need to create and properly
test the three classes. You may use your solution for Task 3.2 as you will mainly add new functionality to the
existing project.
1. For the first part of this task, focus on the implementation of the WithdrawTransaction class. To let the
system to withdraw money from an account, this class employs a set of instance variables listed below.
_account of Account data type
Refers to the Account object that the system is to withdraw from
[Show Less]