What else I must do allow my method to handle any type of objects
- by NewHelpNeeder
So to allow any type object I must use generics in my code.
I have rewrote this method to do so, but then when I create an object, for example Milk, it won't let me pass it to my method.
Ether there's something wrong with my generic revision, or Milk object I created is not good.
How should I pass my object correctly and add it to linked list?
…