In Java 1.7 or later, the standard way to do this is as follows: import java.util.concurrent.ThreadLocalRandom; // nextInt is normally exclusive of the top ...
確定! 回上一頁