java.util.Random 类的 nextInt(int num )
java Random.nextInt()方法
Java中Random类的nextInt()方法详解
原文:https://www.cnblogs.com/cyy489/p/13154790.html