Exemple #1
0
 public User(CheckingAccount checkingAccount, SavingsAccount savingsAccount)
 {
     SavingsAccount  = savingsAccount;
     CheckingAccount = checkingAccount;
 }
Exemple #2
0
 public User()
 {
     SavingsAccount  = new SavingsAccount();
     CheckingAccount = new CheckingAccount();
 }