import java.util.*; public class SelectionSort { public static void main (String[] argv) { int[] testData = makeRandomArray (10); System.out.println ("Before: " + Arrays.toString(testData)); selectionSort (testData); System.out.println ("After: " + Arrays.toString(testData)); } static void selectionSort (int[] A) { // We don't need to find the n-th smallest, so stop at n-1. for (int i=0; i