Design and produce a Java program that simulates an ATM machine.You are required to implement and demonstrate
Fantastic news! We've Found the answer you've been seeking!
Question:
Design and produce a Java program that simulates an ATM machine.You are required to implement and demonstrate an understanding of the following Java constructs within your program:
- Classes
- Methods
- Constructors
- Decision making
- collections
- Iteration
- Error handling
The following assumptions are to be taken into consideration when developing the program:
- Username and password (or PIN) are used instead of a bank card.
- Your program will contain a few users for testing.
- Users will have different account types (saving, current, business).
- Your program will run as a console application.
- Your program should consist of a number of classes.
- The Main class should remain free from unnecessary code.
Program Specifications
Your program will illustrate the following specifications:
- The user will be asked for username
- If username is valid, the user will be asked to enter password (or PIN)
- The main menu is then displayed (check balance, withdraw, deposit, change password (or PIN), Quit). Each option will display a sub-menu (except quit).
- After each function, the main menu is displayed again.
- If Quit, the program will go back to step 1
Related Book For
Data Structures and Algorithms in Java
ISBN: 978-1118771334
6th edition
Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser
Posted Date: