What would "00000001" convert to?
Type: Posts; User: Norm
What would "00000001" convert to?
What does the code do with the 9 digit number? Does it have to be an int value?
What if the code was changed in this way:
public static String generateRandom()
....
...
Can you post some examples of the 8 digit numbers that were generated?
How does the code handle leading 0s?