Java Threads Question:
Download Job Interview Questions and Answers PDF
What is deadlock?
Answer:
When two threads are waiting for each other and can’t proceed until the first thread obtains a lock on the other thread or vice versa, the program is said to be in a deadlock.
Download Java Threads Interview Questions And Answers
PDF