In this application, the apple.com password checker is used as a model to create a password checker.
The following conditions must be met for the password to be valid:
1. Password must be at least 8 or more characters long.
2. Password must contain upper and lower case letters.
3. Password must have at least one digit.
The do while loop is used in this application and also the break statement is used to exit the loop when a user intends to quit.
Sit, Enjoy and learn.
Below are related videos:
Java Tutorials: Do While Loop:
• Java Tutorials : Do While Loop
Java Tutorials: Loop (For Loop)
• Java Tutorials : Loop (For Loop)
Java Tutorials: Break and Continue Statement:
• Java Tutorials : Break and Continue S...
Java Tutorials: Introduction to Methods(return type - boolean) for beginners:
• Java Tutorials : Introduction to Meth...
Tutorial codes can be gotten from this Github repository: https://github.com/generalkolo/Javacodes