This class is useful for generating pseudo-random numbers. You have to provide the Random object with a seed (if you don't, the current time in milliseconds will be taken by default). This is what makes the algorithm pseudo. Using the Random class with the same seed will yield the same random number. Check out the examples for more information on the use.