Generics

Generic Arrays

Arrays are not always easy to handle in Java. Especially editing and copying when using Java 5 generics is difficult.

Why extends?

Java 5 introduced generics so you can use for example the collection framework without casts. But when and why you need to use wildcards?