生成隨機數(數字+大小寫字母)

/** * 生成指定長度的隨機字符串 * * @param length * @return */ public static String getRandomStringByLength(int length){ StringBuilder sb = new StringBuilder() ; for (int j = 0; j < length; j++) {
相關文章
相關標籤/搜索