예제 #1
0
 public ATM()
 {
     bankDatabase  = new BankDatabase();
     cashDispenser = new CashDispenser();
     depositSlot   = new DepositSlot();
     keypad        = new Keypad();
     screen        = new Screen();
 }
예제 #2
0
 public Transaction(int userAccount, Screen theScreen, BankDatabase theDatabase)
 {
     accountNumber = userAccount;
     userScreen    = theScreen;
     database      = theDatabase;
 }