You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of this class is to create an implementation of a Worker and Transactable which can deposit, withdrawal, and getBalance, of its composite BankAccount.
Methods to Complete
BankAccount getBankAccount()
void setBankAccount(BankAccount bankAccount)
Transactable
Description
The purpose of this interface is to ensure a class can deposit, withdrawal, and getBalance.
Methods to Complete
void deposit(Double amountToIncreaseBy)
void withdrawal(Double amountToDecreaseBy)
Double getBalance()
Worker
Description
The purpose of this interface is to ensure a class has BankAccount