This page contains an archived post to the Java Answers Forum made prior to February 25, 2002.
If you wish to participate in discussions, please visit the new
would this be cheating?
Posted by Jody Brown on November 07, 2001 at 8:00 AM
Why not just use java.util.Random? or use Math.random() as a basis for calculating a random number within the range tou need