Course Solutions Uncategorized (Solved) : Create Passwordtest Class Class Method Checks Password Following Requirements Public Strin Q30245062 . . . .

(Solved) : Create Passwordtest Class Class Method Checks Password Following Requirements Public Strin Q30245062 . . . .

 

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

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post