+ 1

How do you create a java program of a password that will have 7 character's(digits and letters no symbols)

28th Aug 2017, 6:29 PM
Mawethu Cromwell Makaula
Mawethu Cromwell Makaula - avatar
3 ответов
+ 1
yes
29th Aug 2017, 2:47 AM
Mawethu Cromwell Makaula
Mawethu Cromwell Makaula - avatar
+ 1
you can use the ascii codes of characters. inside a for loop generate a number from 0 to 255. lets call this int z. you can convert this to a single char using Character.toString((char) z). do this for 7 loops and add the result to a string
29th Aug 2017, 6:47 PM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar
0
do you want the program to generate 7 characters long passwords?
29th Aug 2017, 1:48 AM
Giannis Tsirovasilis
Giannis Tsirovasilis - avatar