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