QUESTION 8자격증/OCJP_ExamD2018. 7. 29. 16:18
Table of Contents
반응형
QUESTION 8Given:1. public class TestOne {2. public static void main (String[] args) throws Exception {3. Thread.sleep(3000);4. System.out.println("sleep");5. }6. }What is the result?A. Compilation fails.B. An exception is thrown at runtime.C. The code executes normally and prints sleep.D. The code executes normally, but nothing is printed.Solution : C
반응형
'자격증 > OCJP_ExamD' 카테고리의 다른 글
QUESTION 10 (0) | 2018.07.29 |
---|---|
QUESTION 9 (0) | 2018.07.29 |
QUESTION 7 (0) | 2018.07.29 |
QUESTION 6 (0) | 2018.07.29 |
QUESTION 5 (0) | 2018.07.29 |
@IT grow. :: IT grow.
#IT #먹방 #전자기기 #일상
#개발 #일상