Create a PasswordTest class.
The class should have a method which checks the password for thefollowing requirements.
public String checkPassword( String psswd)
The password uses the following criteria:
The password should be at least 6 characters strong.
The password should contain at least one upper case letter.
The password should contain at leastTWO lower case letters
The password should have at least one digit.
The algorithm should ask for a password and then verifies thatit meets the stated criteria. If it does it should return message“Password Accepted”. If not it should return a message as to whatis wrong with the password and why it is not accepted.
The main
PayPal Gateway not configured
PayPal Gateway not configured