Which of the following statements is false? (a) The sleep() method should be enclosed in try-catch block

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 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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: