import java.util.Random; public class ArraysBubbleSort { public static void main(String[] args) { // TODO Auto-generated method stub int size = 100; double[] numbers = new double[size]; // create an array to store the random numbers Random rand = new Random(); // create a new instance of the Random class for (int i = 0; i < size; i++) { numbers[i] = (rand.nextDouble() * 10.0); // generate a random number between 0 and 1 } for (int j = 0; j < size-1; j++) { if (numbers[j]