标签:blog for java on div 问题 log as tt
1.
//生成1——3的随机数
int x = 1 + (int) (Math.random() * 3);
2.
//生成一个随机6位数
Random rand = new Random(); long l = 0; for (int i = 0; i < 11; i++) { l = (long) (rand.nextDouble() * 100000000L + 10000000); System.out.println("135"+l); }
while (i < 1) {
System.out.println(getSjh(6));
i++;
}
3.
随机日期
标签:blog for java on div 问题 log as tt
原文地址:http://www.cnblogs.com/doublesauce/p/4145920.html