Question: Write an application that prompts the user for a password that contains at least two uppercase letters, at least three lowercase letters, and at least
Write an application that prompts the user for a password that contains at least two uppercase letters, at least three lowercase letters, and at least one digit. Continuously reprompt the user until a valid password is entered. Display a message indicating whether the password is valid; if not, display the reason the password is not valid. Save the file as ValidatePassword.java.
Step by Step Solution
3.31 Rating (160 Votes )
There are 3 Steps involved in it
import javautil public class ValidatePassword public static void mainString args String aString int ... View full answer
Get step-by-step solutions from verified subject matter experts
