Briefly, the basic difference between generic and non-generic collections:
- Non-Generic collections
- These are the collections that can hold elements of different data types. It holds all elements as object type.
So it includes overhead of type conversions.
- Generic collections
- These are the collections that can hold data of same type and we can decide what type of data that collections can hold.
Some advantages of generic collections
- Type Safe, Secure, reduced overhead of type conversions.
You can read more about generics here