which is true?

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

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

A.
The Thread.sleep() method can take t1 as an argument.

B.
The Object.notify() method can take t1 as an argument.

C.
The Thread.yield() method can take t1 as an argument.

D.
The Thread.setPriority() method can take t1 as an argument.

E.
The Object.notify() method arbitrarily chooses which thread to notify.



Leave a Reply 0

Your email address will not be published. Required fields are marked *