Here I am listing down most of the important java multithreading interview questions from interview perspective, but you should have good knowledge on java threads to deal with follow up questions. This article on Synchronization in Java will help you guide your way to learn about synchronizing the multi-threaded programs. This article covers the concept of Deadlock In Java with an example that shows how the threads in a multi threaded program gets blocked. Deadlock in java is a programming situation where two or more threads are blocked forever. Java deadlock situation arises with at least two threads and two or more resources. Here I have written a simple program that will cause java deadlock scenario and then we will see how to analyze it. Deadlock in Java Let’s have a look at a simple program where I will create deadlock in java threads.