Question: Write a java Write a program containing a method that checks to see if a String is a valid password. The password will be valid
Write a java Write a program containing a method that checks to see if a String is a valid password.
The password will be valid given the following requirements:
Make your Password characters or more
Less than is considered unsafe
ABC abc @$&
Use a mix of all character choices
Upper case, lower case, numbers & special characters
In the main method, you should call the password method at least times.
The first time, test it with your full name.
The second time, test it with your first name the last digits of your student
number a symbol of your choice.
Print the results of both tests to the console.
In the third call, you should accept a password from the user and report if it is valid.
Output Example:
Test string : George Vanoyen
Valid password? false
Test string : George&
Valid password? true
Please enter your own password:
iLoveJava
Valid password? true program containing a method that checks to see if a String is a valid password.
The password will be valid given the following requirements:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
