import java.io.*; import java.util.*; class SortIntArrayIt3 { public static void main(String[] args) throws IOException // Illustrates using selection sort to sort an array of integers. // Generates random numbers to sort to allow sorting a large array // and does not display array. { int n; int[] array; Random rand = new Random(); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); System.out.print("Enter number of integers : "); n = Integer.parseInt(in.readLine()); array = new int[n]; for(int i=0; i