Apache的common下常用的工具类 private static void randomStringTest() {System.out.println(RandomStringUtils.randomAlphabetic(100));System.out.println(RandomStringUtils.random(10, "abc"));}
?