(int)(Math.random()*10);
Math.random*10 从double类型转换成int整形需要括号括起来,不然产生的随机数都是0...
Math.random*10 从double类型转换成int整形需要括号括起来,不然产生的随机数都是0...
2016-12-23
2016年12月23日 03时53分02秒
2016/12/23 03:53
2016-12-23 03:53:02
2016/12/23 03:53
2016-12-23 03:53:02
2016-12-23