Well a pretty much textbook answer would be that the easiest way to initialize a random number generator is to use the parameterless constructor, for example
Random generator = new Random();
Beware of one thing when you use this constructor: Algorithmic random number generators are not...
Uray,
I remember commenting on this type of situation against Oracle 8i a couple of months ago? Or maybe more recently. Anyway the issue is "generally" the same in Java/Oracle comment from before.
It looks like you are looking for a repeatable number sequence in your application? If...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.