Java Interview Programs
Java 5 Features
Java 8 Features
String Interview Questions
Collections Interview Questions
Thread Interview Questions
Jsp Servlet Interview Questions
Java Thread interview questions.
What is Thread ?
What is the difference between Process and Thread ?
What are different states in lifecycle of Thread ?
When to use Runnable vs Thread in Java ?
What is the difference between start() and run() method of Thread class ?
What is the difference between notify() and notifyAll() methods in Java ?
What is the difference between calling wait() and sleep() method in Java ?
Java Code Showing Use of Thead Yield Method ?
What is the difference between Runnable and Callable in Java ?
What is Deadlock In Java. And How to avoid deadlock Situation ?
Explain about Thread Priority In java ?
What is volatile variable in Java ?
How to stop a thread in Java ?
What happens when an Exception occurs in a thread ?
How do you share data between two thread in Java ?
Why wait, notify and notifyAll are not inside thread class ?
What is ThreadLocal variable in Java ?
What is the difference between the interrupted() and isInterrupted() method in Java ?
What is thread pool ?
Write code to solve Producer Consumer problem in Java ?
What is Semaphore in Java ?
What is the difference between the ExecutorService .submit() and Executor.execute() method in Java ?
What happens if a thread throws an Exception inside synchronized block ?
Click Here to Get Thread Tutorial Topic Wise with Examples.
Post a Comment