Generics and the mystical wildcard

This comes up a lot on the forums (or should that be fora?). "I've got a List<?>, why can't I put an object of type X in it?" (for any type X). The problem here is that most people see the ? and interpret it as "anything" when in fact it means "something concrete, but unknown at compile … Continue reading