By using Math.random() method also we can generate random number in java; int randomNum = minimum + (int)(Math.random() * maximum);.
確定! 回上一頁