public class CashDeposit extends Deposit
availableTime
Constructor and Description |
---|
CashDeposit(Cash cash)
Creates an instance of CachDeposit, given an array of bills.
|
Modifier and Type | Method and Description |
---|---|
double |
getAmount()
Returns total amount of this CashDeposit
|
getAvailabilityTime