Random r = new Random();  
System.err.println(r.nextInt(10));

取出的整數 在0~10之內  不包含10;為0,1,2,3,4,5,6,7,8,9