Question: include 2 methods: validateHandle ( ) : accepts the entered handle and returns true if it is a valid handle validatePassword ( ) : accepts

include 2 methods:
validateHandle (): accepts the entered handle and returns true if it is a valid handle
validatePassword (): accepts the entered password and returns true if it is a valid
password
Sample output 1:
Enter your handle:
Al.
Invalid handle, enter another:
Alexa?
Invalid handle, enter another:
Alexa
Create a password:
heyGoogle!
Account created successfully.
Sample output 2:
Enter your handle:
lord voldemort
Invalid handle, enter another:
voldy
Create a password:
avadakadavra
Invalid password, enter another:
let's see does this work
Invalid password, enter another:
thislshouldwork#
Account created successfully.
IMPORTAN NOTE!!!: Do not use import.util.regex.*
 include 2 methods: validateHandle (): accepts the entered handle and returns

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!