多选题 Given:
2. public class Organic<E> {
3. void react(E e) { }
4. static void main(String[] args) {
5. // Organic<? extends Organic> compound = new Aliphatic<Organic>();
6. // Organic<? super Aliphatic> compound = new Aliphatic<Organic>();
7. compound.react(new Organic());
8. compound.react(new Aliphatic());
9. compound.react(new Hexane());
10. }}
11. class Aliphatic<F> extends Organic<F> { }
12. class Hexane<G> extends Aliphatic<G> { }
Which, taken independently, are true? (Choose all that apply.)
【正确答案】 A、B、C、D
【答案解析】