Answer the question
In order to leave comments, you need to log in
Is there a class that has a set of certain characters?
I wrote a password generator program, but I indicated a set of numbers, large and small letters through an array.
Is there a class that has a method that returns a set of numbers 0-9 and letters az, AZ.
Type class Symbols:
Symbols.numbers() - returns numbers from 0-9 of type int, well, or something like that.
And then these three arrays look very bulky.
String[] number = {"0", "1", "2", "3", "4", "5", "6", "7", "8", "9"};
String[] maxletter = {"A", "B", "C", "D", "E", "F", "G", "H", "I", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "V", "X", "Y", "Z"};
String[] minletter = {"a", "b", "c", "d", "e", "f", "g", "h", "i", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "v", "x", "y", "z"};
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question