READ Free Dumps For Oracle- 1z0-851
Question ID 3718 | Given: |
Option A | A. Compilation fails. |
Option B | B. After line 15, the value of age is 5. |
Option C | C. After line 15, the value of age is 3. |
Option D | D. An exception is thrown at runtime. |
Correct Answer | D |
Question ID 3719 | Given that t1 is a reference to a live thread, which is true? |
Option A | A. The Thread.sleep() method can take t1 as an argument. |
Option B | B. The Object.notify() method can take t1 as an argument. |
Option C | C. The Thread.yield() method can take t1 as an argument. |
Option D | D. The Thread.setPriority() method can take t1 as an argument. |
Option E | E. The Object.notify() method arbitrarily chooses which thread to notify. |
Correct Answer | E |