Question: In java people can put randomized number:

```
import java.util.Random;

```

I'm developing a game and its essential for the randomizers in my game. But it changes numbers to fast for me and I really liked a time for it to change to a new randomized number. How do I do that? I tried to search on google but gave me nothing.

Answer: 
Google gave you nothing? I highly doubt that.

```
public class Game {
    private Random random = new Random(System.currentTimeMillis());

    // Generate all the random numbers you need.
}

```

If you need them on a schedule, use a `Timer` to only call for the next number when the alarm goes off.
```
public static void main(String[] args) throws Exception {
    Random random = new Random(System.currentTimeMillis());
    for (int i = 0; i < 10; i++) {
        int number = random.nextInt(10);
        System.out.println("number: " + number);
        // sleep 1s every generation
        TimeUnit.SECONDS.sleep(1);
    }
}

```