Random in Java:

public Random()

It will create a new random number generator. Its seed is initialized to a value based on the current time:

public Random() { this(System.currentTimeMillis()); }

Based on this, two Random objects created within the same millisecond will have the same sequence of random numbers.