โ Back to Classes
Question 436
Password Length Checker
Password Length Checker
Create a classPasswordCheckerwith anIsValid(string password)method that returnstruewhen the password is at least 8 characters long andfalseotherwise. Do not write aMainmethod. For the passwordsecret12(8 characters) the program prints: True
Expected Output:
True
Topics:
Classes
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (cw, cr, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.