Java method for checking password
valika69
Question
Write a Java method to check whether a string is a valid password.
Password rules:
A password must have at least ten characters.
A password consists of only letters and digits.
A password must contain at least two digits.
In main method make 10 passwords, check them and print if they are valid or not.
Details
Purchase An Answer Below