Q.

What should not be done to avoid deadlock?

A. avoid using multiple threads
B. avoid hold several locks at once
C. execute foreign code while holding a lock
D. use interruptible locks
Answer» C. execute foreign code while holding a lock
1.6k
0
Do you find this helpful?
2

View all MCQs in

Advanced JAVA

Discussion

No comments yet