Which of the following statement is true? A. To call the join() - ProProfs Discuss
Topics
Products
Follow Us:

Which of the following statement is true?
A. To call the join() method, a thread must own the lock of theobject on which the call is to be made
B. To call the yield() method, a thread must own the lock of theobject on which the call is to be made.
C. To call the wait() method, a thread must own the lock of theobject on which the call is to be made.
D. To call the wait() method, a thread must own the lock of thecurrent thread.
E. To call the sleep() method, a thread must own the lock of the object which the call is to be made.

This question is part of DD3
Asked by Unrealvicky, Last updated: May 23, 2020

+ Answer
Request

1 Answer

unrealvicky

Unrealvicky

Answered Mar 02, 2019

To call the wait() method, a thread must own the lock of theobject on which the call is to be made.
 

Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer
Search for Google images
Select a recommended image
Upload from your computer

Email Sent
We have sent an email to your address "" with instructions to reset your password.