🌈 搜索
📅  最后修改于: 2022-03-11 14:52:15.688000             🧑  作者: Mango
String[] s = {"your", "array", "of", "strings"}; Random ran = new Random(); String s_ran = s[ran.nextInt(s.length)];