Skip to content

Producer extends, consumer super

java static void copy(List<? super T> dest, List<? extends T> src)

Why are the two wildcards different?