importjava.util.Random;publicclassRandomSelect{// 从n个不同元素的数组中等概率地取出m个不同元素publicstaticint[] select(int[] array,intm) {intn=array.length;if(m > n) {thrownewIllegalArgumentException("m cannot be larger than n"); }int[] result =newint[m];// 存放结果的数组Randomrand...