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