Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step by Step Solution
★★★★★
3.43 Rating (166 Votes )
There are 3 Steps involved in it
Step: 1
Here is a basic implementation of an ATM simulation program in Java This program consists of several classes to handle different functionalities such as user authentication account management and ATM ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started