All my code seems to check out, and all that remains is my printAlternate() method.

Code java:

publicString printAlternate(){/*
This method returns a string that has
the data in the following fashion (assume for this example that the list stores String objects)
If the list is currently [amit is now here], it will return a string �[amit here is now]�
If the list is currently [amit is now currently here], it will return a string �[amit here is currently now]�
*/String str ="[";for(int v =0; v < size; v++){}}