

McqMate
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 |
View all MCQs in
Advanced JAVANo comments yet