READ Free Dumps For Oracle- 1z0-804
Question ID 3533 | Which three statements are correct about thread's sleep method? |
Option A | A. The sleep (long) method parameter defines a delay in milliseconds. |
Option B | B. The sloop (long) method parameter defines a delay in microseconds. |
Option C | C. A thread is guaranteed to continue execution after the exact amount of time defined in the sleep (long)parameter. |
Option D | D. A thread can continue execution before the amount of time defined in the sleep (long) parameter. |
Option E | E. A thread can continue execution after the amount of time defined in the sleep (long) parameter |
Option F | F. Only runtime exceptions are thrown by the sleep method. |
Correct Answer | A,C,E |
Question ID 3534 | |
Option A | A. Thread is printed |
Option B | B. Runnable is printed |
Option C | C. No output is produced |
Option D | D. No new threads of execution are started within the main method |
Option E | E. One new thread of execution is started within the main method |
Option F | F. Two new threads of exclusion are started within the main method |
Correct Answer | C,D |