1 String str="1234567890qwertyuioplkjhgfdsazxcvbnmQWERTYUIOPLKJHGFDSAZXCVBNM    ";
2                   int b[]=new int[4];
3                  Random a =new Random();
4                   for(int i=0;i<4;i++)
5                   {
6                      b[i]=a.nextInt(62);
7                  System.out.print(str.substring((b[i]),(b[i]+1) )+" ");
8                  }

学习练习   java 验证码练习

相关文章:

  • 2021-10-05
  • 2021-08-31
  • 2022-03-05
  • 2021-08-05
  • 2021-06-01
  • 2022-02-25
  • 2022-01-01
  • 2021-07-05
猜你喜欢
  • 2021-06-28
  • 2022-12-23
  • 2021-11-12
  • 2022-02-25
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案