The syntax of generic classes and methods was not added until version 5.0 of Java. Nonetheless, early versions of the language had collections classes such as an array list, or a linked list.
How were those classes implemented without the generic syntax?
Give an example showing the definition of a collection of items such as an array list or a linked list without generics and then, with generics.
Why is having the syntax of generics better?