subject

having a secure password is a very important practice, particularly when much of our personal information is stored online.

write a program that validates a new password, following these 4 rules:

the password must be at least 8 characters long.
the password must have at least one upper case letter.
the password must have at least one lower case letter.
the password must have at least one digit.
1) your program should ask for a password, and then check first to see if the password is valid (i. e., conforms to the specifications outlined above.) if not, the program should allow the user to continue to enter passwords until s/he enters a valid password.

2) then your program should confirm the password by requesting that the user enter the password again, and verify that the two match. if they don't match, allow the user to try it again (for a total of 3 tries only).

you will need a minimum of two methods, one to confirm the two passwords, and at least one (or more) to check to see if the password meets the 4 required specifications outlined above.

carefully examine and follow all the program requirements. make sure you use prologue comments for your program, including prologue comments for each of your methods. you will find both the java string methods as well as the character class methods immensely for this lab. use comments as well for any part of your code that may not be self-explanatory or may require some additional documentation.

you will find both the java string methods as well as the character class methods immensely for this

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:00
What allows you to create a wireless connection among your smart devices
Answers: 2
question
Computers and Technology, 22.06.2019 22:20
Pp 4.1 design and implement a class called sphere that contains instance data that represents the sphere’s diameter. define the sphere constructor to accept and initialize the diameter and include getter and setter methods for the diameter. include methods that calculate and return the volume and surface area of the sphere (see pp 3.5 for the formulas). include a tostring method that returns a one-line description of the sphere. create a driver class called multisphere, whose main method instantiates and updates several sphere objects.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Whats three fourths of 15(this is supposed to be in math but i clicked too fast)
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
Worth 50 points answer them bc i am not sure if i am wrong
Answers: 1
You know the right answer?
having a secure password is a very important practice, particularly when much of our personal inform...
Questions
question
Mathematics, 22.10.2021 22:10
question
Mathematics, 22.10.2021 22:10
question
Mathematics, 22.10.2021 22:10
Questions on the website: 13722361