Infosys interview question

What's a deadlock and java related questions