OK, so generics are killing me here. Sorry for all of the questions, but you don't know until you ask, right? Why do I get the following error if I clearly declare myList to be an array of Strings and bound the method with
String?
<T>fillArray(T...) in Ch15.ArrayList<T> cannot be applied to (Ch15.ArrayList<java.lang.String>); inferred type argument(s) Ch15.ArrayList<java.lang.String> do not conform to bounds of type variable(s) T