摘要:
Math.random() : 获取[ 0.0,1.0 ) 之间的double值 int num1 = (int)(Math.random()*10); //Math.random的随机数范围[0.0,1.0)之间 *10 =[0,10) = 取0~9之间的随机数 Scanner in = new 阅读全文
posted @ 2018-08-27 15:01
wuyueping
阅读(79)
评论(0)
推荐(0)
摘要:
摘录:https://blog.csdn.net/qq_35661171/article/details/78839642 System.currentTimeMillis() currentTimeMillis方法 public static long currentTimeMillis() 该方 阅读全文
posted @ 2018-08-27 14:29
wuyueping
阅读(286)
评论(0)
推荐(0)

浙公网安备 33010602011771号