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 8 characters or more
Less than 8 is considered unsafe
ABC abc 123@$&
Use a mix of all 4 character choices
Upper case, lower case, numbers & special characters
In the main method, you should call the password method at least 3 times.
The first time, test it with your full name.
The second time, test it with your first name + the last 4 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 1: George Vanoyen
Valid password? false
Test string 2: George1234&
Valid password? true
Please enter your own password:
iLoveJava2024!
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:
 Write a java Write a program containing a method that checks

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!