...
Code Block | ||
---|---|---|
| ||
import java.util.Random; // ... Random number = new Random(123L); //... for (int i = 0; i < 20; i++) { // generateGenerate another random integer in the range [0, 20] int n = number.nextInt(21); System.out.println(n); } |
...
...
Code Block | ||
---|---|---|
| ||
import java.util.Random; // ... Random number = new Random(123L); //... for (int i = 0; i < 20; i++) { // generateGenerate another random integer in the range [0, 20] int n = number.nextInt(21); System.out.println(n); } |
...