public ArrayList wordsStartingWith(String prefix) { int index = 0; while (index < dWords.size()) { dWords.get(index).startsWith (prefix); index++; } ArrayList aList = new ArrayList }