random类类型

random r=new random();

int shu=r。next(3);非负数

原文地址:https://www.cnblogs.com/weiwenxin01/p/5342848.html