What is Starvation? and What is a Livelock?

Read →

How does thread synchronization occurs inside a monitor? What levels of synchronization can you apply? What is the difference between synchronized method and synchronized block?

Read →

Briefly explain high-level thread states?

Read →

How you will create a Thread ? By extending Thread class or implementing the Runnable Interface ?

Read →

Explain Consumer-Producer problem using BlockingQueue of Java Concurrent util package.

Read →

Explain Consumer-Producer problem by using wait() and notify() methods in multi-threading in Java.

Read →

How should an InterruptedException be handled ?

Read →

How can a thread query if it has been interrupted ?

Read →

How can a thread be woken up that has been put to sleep before using Thread.sleep()?

Read →

Can we use Thread.sleep() for real-time processing ?

Read →