How to generate a random array of numbers?
Using java.util.Random class we can create random data such as boolean, integer, floats, double. First you'll need to create an instance of the Random class. This class have some next***() method that can randomly create the data.
For an example to create random number using the Math.random() method see e81. How to create random number?.