rendered paste body public static void main(String args[]) throws IOException {// int wordCounter = 0; String outString;// int maxSize = getSize(); int maxSize = 10; // array size StringArray array, bubSort, insertSort, selectSort; // reference to array array = new StringArray (maxSize); // create the array BufferedReader input = new BufferedReader(new FileReader("ScienceMagazineArticle.txt")); while ((outString=getData(input))!=null) { String[] tokens = outString.split("\\s+"); for (int i=0; i<tokens.length ; i++) { if (tokens[i].length()!=0) array.insert(tokens[i]); } } // close the input file... input.close(); System.out.println("Original Array: "+ array.getStringArray()); bubSort = new StringArray (array.getSize()); insertSort = new StringArray (array.getSize()); selectSort = new StringArray (array.getSize());