Answered step by step
Verified Expert Solution
Link Copied!

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:

  1. The user will be asked for username
  2. If username is valid, the user will be asked to enter password (or PIN)
  3. The main menu is then displayed (check balance, withdraw, deposit, change password (or PIN), Quit). Each option will display a sub-menu (except quit).
  4. After each function, the main menu is displayed again.
  5. 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 ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Structures and Algorithms in Java

Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

6th edition

1118771334, 1118771338, 978-1118771334

More Books

Students also viewed these Programming questions

Question

Using Equations (6.4.3) and (6.4.4), derive formula (6.4.5).

Answered: 1 week ago