So I have these classes (excluding main) public BankAccount, public static Bank So I want to have a static list of all of the account that can only be read or edited by the classes above
In main I should only be able to create accounts and deposit or withdraw money from them?
How do I do it?
I don't have a prototype so you'll have to work with your imagination.