Programming - Threads - Discussion

You Are Here :: Home > JAVA > Threads - Discussion

 



Q.

Only one thread at a time can access the shared resource guarded by the ___________________ lock.                         


A. Class B. Object
C. Variable D. Method

Answer: Option B
Explaination:

 


Only one thread at a time can access the shared resource guarded by the object lock.




Discussion

Your Comments Goes here...
NameDiscussion