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)
本文共 231 字,大约阅读时间需要 1 分钟。
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)
转载地址:http://gkutx.baihongyu.com/