Reference: link text
i cannot understand the following line , can anybody provide me some example for the below statement?
If two instances of Random are created with the same seed, and the same sequence of method calls is made for each, they will generate and return identical sequences of numbers
Since you asked for an example:
Both
Randominstances will always have the same output, no matter how often you run it, no matter what platform or what Java version you use: