Skip to content

sailongjunior89/BankAccountJR

Repository files navigation

This is my project works related with POLYMORPHISM. Bank Account.

For RUN my project, please run from Test.java

BankBranch class addAccount(Account) printCustomers() – print out all the account holders’ ids totalDeposits() totalInterestPaid() -- sum the interest of all accounts to be paid totalInterestEarned() -- sum the interest of all accounts to be earned printAccounts() – print out all the accounts

Account, CurrentAccount, OverdraftAccount, SavingsAccout class -> deposit(), withdraw(), transferTo(), creditInterest(), calculateInterest() and toString()

About

This is my project works. My project is related with addAccount(Account) printCustomers() – print out all the account holders’ ids totalDeposits() totalInterestPaid() -- sum the interest of all accounts to be paid totalInterestEarned() -- sum the interest of all accounts to be earned printAccounts() – print out all the accounts. I used ArrayList

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages