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