java 随机数 Last updated on November 22, 2024 pm 🧙 Questions 随机返回 0 和 1 ☄️ Ideas随机返回 0 和 1public int demo() { return new Random().nextBoolean() ? 1 : 0; } 🔗 Links java docs java java 随机数 https://ispong.isxcode.com/spring/java/java 随机数/ Author ispong Posted on September 19, 2022 Licensed under spring junit接口测试 Previous spring junit高并发测试 Next Please enable JavaScript to view the comments