Just for FYI, computers cannot generate actual random numbers. They are machines, and they do what they are told; and therefore cannot just choose a number at random. Mathematicians would call the process this process 'psuedo-random' number generation, but I didn't feel that made a good title so, whatever.. Just covering all the bases. First you will have to import the library: Java Code: import java.util.Random; Next, you create a random number generator; ...
import java.util.Random;
thanks...
sorry for all the questions
thanks...
06-14-2013, 02:22 PM in gbonecapone