Deadlocks involving synchronized methods or blocks can potentially be resolved by ________.

  • using fewer threads
  • using more synchronization
  • using more threads
  • using thread priority
Deadlocks occur when two or more threads are blocked, each waiting for a resource that the other holds. To resolve deadlocks involving synchronized methods or blocks, one approach is to use fewer threads or to minimize the usage of synchronized sections to reduce the chances of threads waiting indefinitely, thereby avoiding ________.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *