nerdexam
Oracle

1Z0-851 · Question #66

Given that t1 is a reference to a live thread, which is true?

The correct answer is E. The Object.notify() method arbitrarily chooses which thread to notify. See the full explanation below for the reasoning.

Question

Given that t1 is a reference to a live thread, which is true?

Options

  • AThe Thread.sleep() method can take t1 as an argument.
  • BThe Object.notify() method can take t1 as an argument.
  • CThe Thread.yield() method can take t1 as an argument.
  • DThe Thread.setPriority() method can take t1 as an argument.
  • EThe Object.notify() method arbitrarily chooses which thread to notify.

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    8% (2)
  • D
    12% (3)
  • E
    73% (19)

Community Discussion

No community discussion yet for this question.

Full 1Z0-851 Practice