Oracle interview question

How do you avoid a deadlock in your program?

Interview Answers

Anonymous

May 21, 2009

Seemed like an open ended question. I knew the answer but I couldn't recollect at that moment. The interviewer was neither pleased nor displeased with my answer

Anonymous

Jun 2, 2016

1) Using synchronisation properly. 2) Using notify-wait properly.