Question: THIS QUESTION HAS TWO PARTS: A) Write an application that prompts the user for a password that contains at least two uppercase letters, at least

THIS QUESTION HAS TWO PARTS:

A) Write an application that prompts the user for a password that contains at least two uppercase letters, at least two lowercase letters, and at least two digits.

Continuously reprompt the user until a valid password is entered.

After each entry, display a message indicating whether the user was successful or the reason the user was not successful.

Save the file as Password.java.

B) Create the PasswordTest.java class that contains the main method and has an object to use the Password class

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!