Java Error: Random.nextInt: Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive
// Error:
// Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive
// at java.base/java.util.Random.nextInt(Random.java:388)
// at Member.receive(Member.java:14)
// at DemoRedPack.main(DQemoRedPack.java:14)
// 原理:
// Random.nextInt后面的参数必须正数
// 请回看你的代码:
// 是否传了一个>0的数字给它?
May we all proceed with wisdom and grace.
https://www.cnblogs.com/YlnChen/