public class Demo {
  @Test
  public void test01() throws UnsupportedEncodingException{
    Random r=new Random();
    for(int i=0 ;i<100;i++){
      StringBuffer name=new StringBuffer();
      for(int j=0;j<2;j++){
        Integer a=r.nextInt(39)+176;
        Integer b=r.nextInt(93)+161;
        byte[] arr={a.byteValue(),b.byteValue()};
        name=name.append(new String(arr,"GBK"));
      }
      System.out.println(name);
    }
  }
}

相关文章:

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