【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/
En esta página del sitio puede ver el video en línea Practice 9: Randomized String Creator (Basic Java Programming 30) de Duración hora minuto segunda en buena calidad , que subió el usuario Basic Java Programming for Beginners 02 diciembre 2020, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 9 veces y le gustó 0 a los espectadores. Disfruta viendo!