RandomUtil.randomString
获得一个随机的字符串(只包含数字和字符)
importcn.hutool.core.util.RandomUtil; publicclassTest { publicstaticvoidmain(String[] args) { System.out.println(RandomUtil.randomString("hello world",3)); } }
RandomUtil.randomString
获得一个随机的字符串(只包含数字和字符)importcn.hutool.core.util.RandomUtil; publicclassTest { publicstaticvoidmain(String[] args) { System.out.println(RandomUtil.randomString("hello world",3)); } }