Practice 9: Randomized String Creator (Basic Java Programming 30)

Veröffentlicht am: 02 Dezember 2020
auf dem Kanal: Basic Java Programming for Beginners
9
0

【Basic Java Programming 30】
Let's code! We're going to write a program that gets a randomized string. You can download an example code.

====================================
[Practice]
Write the program that we get a randomized string according to the condition that the user inputs.

[Specification]
Make sure you use two classes here.
・Class that you make user input on the prompt
・Class that you create randomized strings according to the user input

Display the "Do you need uppercase characters? (y or n): " message on the prompt first.

If a user inputs the "y" or "Y" on the prompt, the user can get the randomized string, including eight uppercase and lowercase characters. But if not, a user can only get the randomized string as eight lowercase characters.

If a user input the words besides the "y", "Y", "n", "N", show the user the "You inputted something besides y or n. So we will not use uppercase." message.

(Input)
y, Y: 8 uppercase and lowercase characters
n, N and the others: 8 lowercase characters
====================================


◆ What is null?
   • What is null? (Basic Java Programming 18)  

◆ Practice 9 (example) - code
https://github.com/makoto-sabay/pract...

◆ Practice 9 (answer) - code
https://github.com/makoto-sabay/pract...

◆ Makoto Official Site
https://sabay-sabay.asia/


Auf dieser Seite können Sie das Online-Video Practice 9: Randomized String Creator (Basic Java Programming 30) mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Basic Java Programming for Beginners 02 Dezember 2020 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 9 Mal angesehen und es wurde von 0 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!