Take a look at the Math.random() method as well as the Random class. The API is your friend: Java Platform SE 6
Type: Posts; User: KevinWorkman
Take a look at the Math.random() method as well as the Random class. The API is your friend: Java Platform SE 6