<? super E> and <? extends E> for List

前端 未结 5 1146
无人共我
无人共我 2020-12-10 02:22

Having the following simple class structure:

class A {
}

class B extends A {
}

class C extends B {
}

I\'m creating an ArrayList to keep o

5条回答
提交回复
热议问题