import java.util.Random; Random rn = new Random(); int range = maximum - minimum + 1; int randomNum = rn.nextInt(range) + minimum;.
確定! 回上一頁