Consider the following program:
class Base<T> { } class Derived<T> { } class Main { public static void main(String []args) { // Stmt #1 } }
Which statements can be replaced with //Stmt#1
and the program remains compilable (choose two):
a) f)
Note that Base and Derived are not related by an inheritance relationship.
Further, for generic type parameters, subtype doesn't work: you cannot assign a derived generic type parameter to a base type parameter.