As the title suggests I would like to know what the difference is between a collection for which I have to set the type of items and all the specialized collections for only one datatype. Does it matter which one I use?
And also is there a difference between List<String>
and Collection<String>
?
String is just an example, I'm asking in general.