impact.com Interview Question

What is a deadlock in Java?