Give an example of a program that uses the non-generic version of a class from the Java collection framework and the equivalent program that uses the generic version.
How do the two implementations differ?
Why is having the syntax of generics better?