Random random = new Random()
int len = data.length
String[] luckmen = new String[len]
for(int i=0i<leni++){
int index = random.nextInt(len)
luckmen[i] = data[index ]
}
return luckmen
}
欢迎分享,转载请注明来源:内存溢出
Random random = new Random()
int len = data.length
String[] luckmen = new String[len]
for(int i=0i<leni++){
int index = random.nextInt(len)
luckmen[i] = data[index ]
}
return luckmen
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)