how to create random string by Randmom method code example Example: generate 5 digit random string in java RandomStringUtils.randomAlphanumeric(17).toUpperCase()