📌  相关文章
📜  从列表中选择一个随机元素java代码示例

📅  最后修改于: 2022-03-11 14:52:16.138000             🧑  作者: Mango

代码示例1
Random randomizer = new Random();
String random = list.get(randomizer.nextInt(list.size()));