Random random = new Random();
int ends = random.nexIn(99);
String.format("%02d",ends);//如果不足两位,前面补0
02-28
376
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-24
Random random = new Random();
int ends = random.nexIn(99);
String.format("%02d",ends);//如果不足两位,前面补0