What Will I Learn?
- More understanding of StringBuilder Class.
- More understanding of for loops
- More understanding of Random Class.
Requirements
- An Integrated Development Environment(IDE) installed that can run Java (e.g Eclipse, IntelliJ, NetBeans)
- JDK 1.X installed on your Pc
- Java Programming Experience.
- Of course, willingness to learn
Difficulty
- Intermediate
Description
In this Java Program, a model like a password generator used in WordPress is being developed.
Firstly, the user is asked how long he/she would want the password to be and then a random password of that length is generated.
The program takes all the capital or block letters and adds then with the small letters and symbols and then users a random object to randomly select these characters from a StringBuilder object and then upon getting the exact length of the password, the password is displayed.
An online password check is also used to check how strong the password is and it happens to be very strong.
Video Tutorial
Curriculum
- Understanding Loops (FOR Loop) in Java using Eclipse IDE
- Java Tutorials: StringBuilder 1
- Understanding Methods (return type - String) in Java using Eclipse IDE
Tutorial codes can be gotten from this github repository: https://github.com/generalkolo/Javacodes
Posted on Utopian.io - Rewarding Open Source Contributors
Your contribution cannot be approved because it does not follow the Utopian Rules.
You can contact us on Discord.
[utopian-moderator]
Downvoting a post can decrease pending rewards and make it less visible. Common reasons:
Submit