Give an example of a program in JAVA with comments that uses the nongeneric version of a class from the STL and the equivalent program that uses the…

Give an example of a program in JAVA with comments that uses the nongeneric version of a class from the STL and the equivalent program that uses the generic version. How do the two implementations differ? Why is having the syntax of generics better?