标签:
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://www.cnblogs.com/softidea/p/5869252.html