I\'m new to these generic types. In the below code, I created a method that accepts a List of items that extends \"String\".
My Question? - When the list can be assigned
There's a subtle difference. It takes a list that contains one type of thing (a thing that extends string). This list may be a subclass of String and therefore not be a String iyswim. See http://docs.oracle.com/javase/tutorial/java/generics/upperBounded.html Upper bounded wildcards.
If it was
public void takeList(List *super* String> list){
Then you could add strings to it, because the list is guaranteed to be able to accept Strings.