Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ServiceAccount(double balance, String owner){
- }
- public void setFee(double fee){
- this.fee = 0.02;
- }
- public void deposit(double amount){
- balance += amount-(amount*fee);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement