Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Complete the fifth programming challenge, PasswordVerifier. The UML diagram of the class is shown below. PasswordVerifier - MIN _ PASSWORD _ LENGTH : int =
Complete the fifth programming challenge, PasswordVerifier. The UML diagram of the class is shown
below.
PasswordVerifier
MINPASSWORDLENGTH : int
isValid str : String : boolean
hasUpperCasestr : String : boolean
hasLowerCasesrr : String : boolean
hasDigitstr : String : boolean
Write a class, PasswordVerifier, per the UML diagram above, and create a second class,
PasswordDemo, with a main routine to demonstrate the use of the PasswordVerifier class.
The method isValid should be static. This method should return true if a password has more than
characters, contains upper case, lower case and a digit.
CS CWU, Homework Tatiana Harrison
page of
Do NOT instantiate an object of type PasswordVerifier.
You can have your program interact with the user via the commandline input, or by using dialogue
boxes. The below two images show a successful invocation of the program PasswordDemo.
Refer to the rubric posted in Canvas for details about point accrual. A sample invocation of the program
is shown above.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started