j = rand.nextInt(100)+1;代表什么意思

如题所述

rand.nextInt(100)表示获取0-99的随机数,?rand.nextInt(100)+1表示1,100的随机数
温馨提示:答案为网友推荐,仅供参考
相似回答