(数据类型)(最小值+Math.random()*(最大值-最小值+1))
(int)(1+Math.random()*(10-1+1))
分享美的东西!
© Amor
Powered by LOFTER