What is difference between BLOCKED and WAITING state in java multithreading?

Answer: Difference between blocked and waiting state of Java thread. BLOCKED state: If a thread is waiting for a lock to enter a synchronized block/method is called blocked. Note – Also, when a thread wants to re-enter a synchronized block/method after calling wait () method is also called blocked. WAITING state: a thread, that is … Read more