jeudi 8 avril 2021

How can I generate a formatted random alphanumeric string in Java [closed]

please how do I generate a string of random numbers in Java in this formatted order:

Note: the string is 5 characters in length (as specified in the format below)

("%s,%s,%d,%d,%d") i.e string-string-integer-integer-integer

Every single one of the characters is to be random but in the format specified above. Please help. Thanks.




Aucun commentaire:

Enregistrer un commentaire