如何获取一个随机数:random()方法double value = Math.random(); //[0.0,1.0)double value = Math.random() 100; //[0.0,100.0) double value = Math.random() 90 + 10; //[10.0,100.0) int value =(int)( Math.random() 90 + 10 ); //[10,100) *