Question: Which of the following statements is false? (a) The sleep() method should be enclosed in try-catch block (b) The yield() method should be enclosed in
Which of the following statements is false?
(a) The sleep() method should be enclosed in try-catch block
(b) The yield() method should be enclosed in try-catch block.
(c) A thread can be temporarily suspended from running by using the wait() method.
(d) A join() causes the caller to wait till the called thread terminates
Step by Step Solution
3.37 Rating (169 Votes )
There are 3 Steps involved in it
b The yield ... View full answer
Get step-by-step solutions from verified subject matter experts
