Wednesday, 4 January 2012

Question 62 : Thread

Given that t1 is a reference to a live thread,
What 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.

No comments:

Post a Comment