Question: Create an ATM Java program Given the following data: First name Last name Account ID Balance PIN Saul Goodman Eq7fGNc0d9 1234.56 i8E2 Walter White 0o7H555ySq

Create an ATM Java program

Given the following data:

First name Last name Account ID Balance PIN
Saul Goodman Eq7fGNc0d9 1234.56 i8E2
Walter White 0o7H555ySq 4204.20 jF22
Howard Hamlin bD3u1R4TtK 9999.99 3OLa

Create a Customer class that defines a customer: public firstName, public lastName, private String id, private double bal, private String pin.

Next, create a Database class that creates a private object array of Customer objects which can hold 3 customers. In the default constructor, you must initialize the users from the table provided to the array.

Now, create a Worker class that performs two actions: Withdraw/deposit funds and another that shows present balance

Lastly, create a Main class (holds main method) that prompts user to log in. If the account ID and PIN match, the user is logged in, and from their the user will be prompted to 1) view balance, 2) withdrawal, 3) deposit, and 4) log out

*keep in mind to include a way to make sure a user is logged in (hint: null)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!