API:Returns a pseudo-random uniformly distributed int in the half-open range [0, k). 意思就是说,nextInt的取值是0到k-1,不包括k。