Write a Java program that prompts the user to enter a password and checks whether it is valid according to the following rules:
. A password must have at least eight characters
. A password must contain only letters and digits
. A password must contain at least one uppercase letter and one lowercase letter
. A password must contain at least two digits
This practice program must include at least two methods (including main).
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here