QSet Logo
Public
QS

@qs_by_qset

Created this 5 months ago

Java Multithreading Questions

Less than 10 submissions

Questions and answers on Java multithreading.

Stop reading

Practice these questions and get feedbacks! It will help you improve your answer.

Ads section

1. What is the difference between a volatile variable and a synchronized variable?

2. What is the difference between a thread pool and a thread factory?

Please login to your account to view this. Login

3. What is the difference between a wait() and a notify() method?

4. What is the difference between a thread dump and a stack trace?

5. What is the difference between a semaphore and a mutex?

6. What is the difference between a thread and a process?

7. What is the difference between a deadlock and a livelock?

8. What is the difference between a daemon thread and a user thread?

9. What is the difference between a CountDownLatch and a CyclicBarrier?

10. What is the difference between a thread group and a thread pool?

11. What is the difference between a synchronized method and a synchronized block?