标签:
随笔样式测试
1 /**
2 *
3 */
4 package sort;
5
6 import java.util.Random;
7
8 /**
9 * @author helei
10 *
11 */
12 public class SizeSorting {
13
14 /**
15 * @param args
16 */
17 public static void main(String[] args) {
18 // TODO Auto-generated method stub
19
20 //生成随机数
21 Random rd = new Random();
22 for (int i = 0; i < 5; i++)
23 {
24 System.out.println(rd.nextFloat());
25
26 }
27 double l = Math.random();
28
29 System.out.println(l);
30 }
31
32
33
34 }
标签:
原文地址:http://www.cnblogs.com/heleiz/p/5894879.html