Consider an Automatic Teller Machine (ATM) . The following are provided for checking and savings accounts:
Question:
Consider an Automatic Teller Machine (ATM) . The following are provided for checking and savings accounts:
• Begin Transaction (with Card/PIN)
• Balance Enquiry
• Deposit
• Withdrawal
1) Identify ten objects (actually classes) that could be part of an object-oriented design of the machine.
2) From the ten objects, pick 4 or 5 that form a coherent and complete set for design purposes. You may combine/compose objects to form subjects. Now use UML or similar notation to design/draw a class diagram for the ATM.
3) For additional documentation, draw an example object diagram that corresponds to the class diagram
4) Modify the class diagram to include an example of inheritance.
5) Modify the class diagram to include an example of composition.
Cost Accounting A Managerial Emphasis
ISBN: 978-0132109178
14th Edition
Authors: Charles T. Horngren, Srikant M.Dater, George Foster, Madhav