char randChar=letter.charAt(random.nextInt(letter.length())); String randLetter=String.valueOf(randChar); //0到10的随机数字没啥用,