Question: * Your software requires that users passwords meet the following * criteria: * (1) The password should be at least 8 characters long * (2)

 * Your software requires that users" passwords meet the following *

* Your software requires that users" passwords meet the following * criteria: * (1) The password should be at least 8 characters long * (2) Every letter of the password should be different * (3) Digits should not be next to other digits. * (4) Letters should not appear in sequential order such as "AB" or "de" * (5) If the password meet the requirement, please display * "true", otherwise, display "false". * Please write a program and name it CheckPassword.java * For example: * Example 1: * input: "1234" * output: false * Example 2 : "acegAE1F" * output: true */ \} public static void main(String[] args) \{ // program starts running here. \} public class CheckPassword \{

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!