public static void main(String[] args) {
System.out.println(new Random().nextInt(0));
}
Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
new Random().nextInt
阅读 52
2022-08-19
public static void main(String[] args) {
System.out.println(new Random().nextInt(0));
}
Exception in thread "main" java.lang.IllegalArgumentException: bound must be positive
at java.util.Random.nextInt(Random.java:388)
相关推荐
精彩评论(0)