Question: this is the assignment and in the next picture is what I have to get into it please help Assignment9: Input and Output Files Write

 this is the assignment and in the next picture is what

this is the assignment and in the next picture is what I have to get into it

I have to get into it please help Assignment9: Input and Output

please help

Assignment9: Input and Output Files Write a JAVA dass Password (Note that class name has a zero instead of an o). The class should have a variable String password. It should have a constructor taking a string as an argument. It should have a method which checks the password for the following requirements public String checkPassword( String psswd) The password uses the following criteria: . The password should be at least 6 characters strong. .The password should contain at least one upper case letter .The password should contain at least TWO lower case letters The password should have at least one digit The algorithm should ask for a password and then verifies that it meets the stated criteria. If it does it should return message "Password Accepted". If not it should jeturn a message as to what is wrong with the password and why it is not accepted. Create a PasswordTest class. This should read in the given input file passwdin.txt This input file has six passwords. Your PasswordTest main method should read each password and call the above method with each string as the argument and write the password string and the return argument into an output file passwdout.txt. So for example if the first assword being read from the input fieis Myname, then in the output filet should say as the first line MyName - Password should have at least one digit

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!