找考题网-背景图
多项选择题

A.public void addStrings(List list) {B.public void addS……

Given:

Which two code fragments, inserted independently at line 5, will compile without warnings?()



A.public void addStrings(List list) {
B.public void addStrings(List<String> list) {
C.public void addStrings(List<? super String> list) {
D.public void addStrings(List<? extends String> list) {  B,C

热门试题