Created
November 25, 2022 12:09
-
-
Save Mishco/0a0a88bdb2b09c54535d51643882fa69 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class CurrentAccount extends Account implements Deposable, Withdrawable { | |
| @Override | |
| protected void deposit(BigDecimal amount) { | |
| // Deposit into CurrentAccount | |
| } | |
| @Override | |
| protected void withdraw(BigDecimal amount) { | |
| // Withdraw from CurrentAccount | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment