June 2006
Intermediate to advanced
1344 pages
42h 52m
English
Module ATMCaseStudy (Fig. J.12) simply allows us to start, or “turn on,” the ATM and test the implementation of our ATM system model. Module ATMCaseStudy’s Main method (lines 4–7) does nothing more than instantiate a new ATM object named theATM (line 5) and invoke its Run method (line 6) to start the ATM.
1 ' ATMCaseStudy.vb 2 ' Module for testing the ATM case study. 3 Module ATMCaseStudy Keypad 4 Sub Main() 5 Dim theATM As New ATM() 6 theATM.Run() 7 End Sub ' Main 8 End Module ' ATMCaseStudy |
Read now
Unlock full access