Generics

If you look at the API documentation for the basic array type,List, you’ll see that thetype is actually List<E>. The <…> notation marks List as ageneric (or parameterized) type—a type that has formal typeparameters. By convention, most type variables have single-letter names,such as E, T, S, K, and V.