QUESTION 60자격증/OCJP_ExamB2018. 7. 13. 23:24
Table of Contents
반응형
QUESTION 60Given:3. import java.util.*;4. public class Hancock {5. // insert code here6. list.add("foo");7. }8. }Which two code fragments, inserted independently at line 5, will compile without warnings? (Choose two.)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) {Solution : BC
반응형
'자격증 > OCJP_ExamB' 카테고리의 다른 글
QUESTION 59 (0) | 2018.07.13 |
---|---|
QUESTION 58 (0) | 2018.07.13 |
QUESTION 57 (0) | 2018.07.13 |
QUESTION 56 (0) | 2018.07.13 |
QUESTION 55 (0) | 2018.07.13 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상