java通过UUID获得随机字符串

UUID uuid=UUID.randomUUID();
String random = uuid.toString().replace("-", "");
System.out.println(random);

猜你喜欢

转载自blog.csdn.net/qq_36912167/article/details/103400400