Reference no: EM132080169
You need help writing this program in JAVA, this is an introductory java course, so if possible, keep it as basic/simple as possible while still following the instructions. The output should look like the sample execution at the end of the problem.
Write a program which validates a user's password based on the following properties:
must be at least 13 characters long
must have at least 4 digits
must have at least 7 letters
must have at least 3 uppercase letters
must have at least 2 non-alphanumeric characters
Input Validation:
No input validation required. Assume you will have a one word password, but your job is to make sure it follows the correct formatting
Requirements:
You should use boolean methods for each of the validations above.
Each of the validations above should be in separate methods. (Think about how you could use boolean methods to do this).
You are NOT allowed to use regular expressions.
Your output should state the following:
If the password is valid simply say "The password is valid".
If the password is invalid, your program should tell the user ALL properties that are invalid.