QUESTION 22자격증/OCJP_ExamC2018. 7. 24. 02:41
Table of Contents
반응형
QUESTION 22Which two code fragments will execute the method doStuff() in a separate thread? (Choose two.)A. new Thread() { public void run() { doStuff(); } };B. new Thread() { public void start() { doStuff(); } };C. new Thread() { public void start() { doStuff(); } }.run();D. new Thread() { public void run() { doStuff(); } }.start();E. new Thread(new Runnable() { public void run() { doStuff(); } }).run();F. new Thread(new Runnable() { public void run() { doStuff(); } }).start();Solution : DF
반응형
'자격증 > OCJP_ExamC' 카테고리의 다른 글
QUESTION 24 (0) | 2018.07.24 |
---|---|
QUESTION 23 (0) | 2018.07.24 |
QUESTION 21 (0) | 2018.07.24 |
QUESTION 20 (0) | 2018.07.24 |
QUESTION 19 (0) | 2018.07.24 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상