package test; import java.util.List; public class B extends A { public T foo(List t) { return null; } public boolean foo(List t) { return false; } }