99问答网
所有问题
j = rand.nextInt(100)+1;代表什么意思
如题所述
举报该问题
推荐答案 2014-07-04
rand.nextInt(100)表示获取0-99的
随机数
,?rand.nextInt(100)+1表示1,100的随机数
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/WOztXBz7j7BBzWjBO7t.html
相似回答
大家正在搜
相关问题
rand.nextint()
rand()%100+1什么意思
int number =r.nextInt(100);其中1...
int[] a=new int[rand.nextint(2...
a=rand()%100+1; rand()代表着什么 ra...
Random rand = new Random(); in...
java中“random.nextInt(101);”是什么...
C语言编程:求随机数这个,guss=rand()%100+1...