单选题:Given code below:
Given code below:
```Java
class Shape {}
class Circle extends Shape() {}
class Rectangle extends Shape() {}
```
Which one below is NOT able to accept both `List` and `List`?
@[B](2)
A. `void f(List extends Shape> list);`
B. `void f(List list);`
C. `void f(List list);`
D. `void f(List> list);`
A.`void f(List extends Shape> list);`
B.`void f(List list);`
C.`void f(List list);`
D.`void f(List> list);`
答案:B
```Java
class Shape {}
class Circle extends Shape() {}
class Rectangle extends Shape() {}
```
Which one below is NOT able to accept both `List
@[B](2)
A. `void f(List extends Shape> list);`
B. `void f(List
C. `void f(List list);`
D. `void f(List> list);`
A.`void f(List extends Shape> list);`
B.`void f(List
C.`void f(List list);`
D.`void f(List> list);`
答案:B