//Program Name: LinkedListReverser //Purpose: to use the methods available in the Sun Java LinkedList class //to reverse the order of a linked list. import java.util.LinkedList; public class LinkedListReverser{ private static final int MAX = 10; public static void main(String[] args){ LinkedList staff = new LinkedList(); String[] staffNames = {"Arnie","Sinatra","Glenn","Wolfgang", "Amadeus"};//...and these are a few of my favorite things ... int j; for(j=0;j goThrough = staff.listIterator(0); //just to make sure that we got the list correctly made ... for(j=0;j staff){ LinkedList emily = new LinkedList(); //see Emily Play ... Pink Floyd anyone? for (String Person: staff) emily.addFirst(Person); staff.clear(); for (String Person: emily) staff.addLast(Person); } }