连接:https://blog.csdn.net/bitcarmanlee/article/details/52719202dom
若是抽取1个的话.net
random.nextInt() % n == 0blog
判断随机数是不是 n的整数倍就能够实现get