1 2 3 4 5 6 7 8
import java.util.*; public class A<? extends M> { public void foo(List<?> m) {} } class B extends A { public void foo(List<? extends Object> m) {} }