Random r = new Random();
System.err.println(r.nextInt(10));
取出的整數 在0~10之內 不包含10;為0,1,2,3,4,5,6,7,8,9
转载于:https://blog.51cto.com/811203127/1621343
Random r = new Random();
System.err.println(r.nextInt(10));
取出的整數 在0~10之內 不包含10;為0,1,2,3,4,5,6,7,8,9
转载于:https://blog.51cto.com/811203127/1621343