QUESTION 39자격증/OCJP_ExamC2018. 7. 25. 01:16
Table of Contents
반응형
QUESTION 39Given:11. public class Commander {12. public static void main(String[] args) {13. String myProp = /* insert code here */14. System.out.println(myProp);15. }16. }and the command line: java -Dprop.custom=gobstopper CommanderWhich two, placed on line 13, will produce the output gobstopper? (Choose two.)A. System.load("prop.custom");B. System.getenv("prop.custom");C. System.property("prop.custom");D. System.getProperty("prop.custom");E. System.getProperties().getProperty("prop.custom");Solution : DE
반응형
'자격증 > OCJP_ExamC' 카테고리의 다른 글
QUESTION 41 (0) | 2018.07.26 |
---|---|
QUESTION 40 (0) | 2018.07.25 |
QUESTION 38 (0) | 2018.07.25 |
QUESTION 37 (0) | 2018.07.25 |
QUESTION 36 (0) | 2018.07.25 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상