Password Verifier Imagine you are developing a software package for an online sh
ID: 3670559 • Letter: P
Question
Password Verifier
Imagine you are developing a software package for an online shopping site that requires users to enter their own passwords.
Your software requires that users password meet the following criteris:
-The password should be at least six characters long.
-THE PASSWORD SHOULD contain at least one uppercase and at least one lower case letter.
-The password should have at least one digit.
Write a class that verifies that a password meets the stated criteria. Demonstrate the class in a program that allows the user to enter a password and then displays a message indicating whether it is valid or not.
Please java programing
Explanation / Answer
Password validation can be easily donw using the pattern and matcher classes of the java regular expression