private String getKey()
{
String str="";
for(int p=0;p<4;p++){
str= str+(char) (Math.random ()*26+'a');
}
return str;
}
Java生成随机字符串
最新推荐文章于 2025-05-28 07:52:35 发布
private String getKey()
{
String str="";
for(int p=0;p<4;p++){
str= str+(char) (Math.random ()*26+'a');
}
return str;
}