Is it possible, within Java generics, to store multiple subtypes at the same time?
I was under the impression when you declare your container, the generic parameter has to be concrete (rather than an interface or abstract superclass), so this only leaves using a non-abstract superclass?
I guess this code sample will show you the basics about generics: