Question: JAVA Task 0 2 : Problem P 5 . 9 from Book. Write a class called AutomaticTeller. You should have a single instance variable to
JAVA
Task: Problem P from Book. Write a class called AutomaticTeller. You should have a
single instance variable to store the PIN number for this ATM as an int. do NOT assume youre
your PIN is as stated in the problem in the book Create a constructor to accept an initial value
for your instance variable. Create a method called validateUser that accepts no parameters
and has no return value. This method should prompt the user for a PIN, and then function as described
in the book you will do all user input of PIN attempts, and do all printing from this method for this
task For your screenshot of output you should make sure to test all cases. ie PIN attempt correct on
the first try, PIN attempt correct on nd try, etc
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
