You are developing a software package for an online shoppingsite that requires users to enter their own passwords. Yoursoftware requires that users' passwords meet the followingcriteria:
â— The password should be at least six characterslong.
â— The password should contain at least one uppercase and atleast one
lowercase letter.
â— The password should have at least one digit.
Write a method that verifies that a password meets the statedcriteria. Use this method in a program that allows the user toenter a password and then determines whether or not it is a validpassword. If it is valid, have the program print \"ValidPassword\". Otherwise, it should print \"InvalidPassword\".
Sample Run
java PasswordVerifier
Enter·password·to·be·verified:ComputerScience4Life↵
Valid·password