import java.util.*; abstract class Test<T> { } abstract class B extends Test<String> implements List<String> { }