
You can set the seed of the Random class manually:
ie:
outputs:
Running the app another time will yield the same pseudo-random numbers. Further Information Author of answer: Joris Van den Bogaert Comments to this answer are only viewable by members. Login or become a member! |