2016年6月20日 星期一

Random類別

Random類別
1.產生路徑在 java.util
2.產生物件
Ramdom 物件 = new Random()
3.方法:
nextInt(n):產生0~(n-1)的亂數

沒有留言:

張貼留言