In my code, I have a nestted class that holds an object and an integer. This is to mark the beginning and end locations for a sublist method.
The code executes to the p
It would help if you could clarify what the exception is, however, I am guessing that you are getting a ClassNotFound for E.
It looks like your professor has not clarified the concept of Generics yet. I would recommend looking over what a generic data structure is. THe advice I would give is to look for why E is not defined and why you are trying to create a list of them.
I think that the following link might help to clarify the syntax and the concepts behind them: http://download.oracle.com/javase/tutorial/extra/generics/index.html
Particularly the following section: http://download.oracle.com/javase/tutorial/extra/generics/simple.html