Hey there
I'm working on a exercise and got the following problem:
I wrot this Interface:
and I've implemented this interface in Class ListOne:
At this point, everything seems fine and okay
Next Step:
I have to implement the a Class ListTow with an LinkedList instead of an ArrayList and of course I should reuse as much as possible code. I know that I have to refactor it :-), but what is now the approach? Should I create an abstract Class for ListOne and ListTwo or how should i proceed?
Thanks a lot for any hints
Cheers
Stefan
Ps: sorry for my bad english, but I'm not a native english speaker