Zafrul
TechStack
Home
Blog
Interview Q&A
Projects
AI Assistant
Resume Analyzer
Job Match
Contact
Java
Multithreading
Interview questions on Multithreading.
All Levels
Beginner
Intermediate
Advanced
Search
Showing
10
of
14
questions
1. What is the difference between Runnable and Callable?
+
2. How do you prevent deadlocks in Java?
+
3. What is the purpose of CyclicBarrier, and how is it used?
+
4. What is the ForkJoinPool, and how does it differ from ThreadPoolExecutor?
+
5. How does the ForkJoinPool work, and what types of tasks is it designed for?
+
6. What is the ThreadLocal class, and how does it work?
+
7. Explain how you can use CompletableFuture to handle Normal Threads?
+
8. How can you enable parallelism in Java?
+
9. What are atomic operations in Java (AtomicInteger, CAS)? Why are they faster than synchronization?
+
10. How would you design a high-performance concurrent system in Java (e.g., using CompletableFuture, parallel streams, or reactive programming with Project Reactor)?
+
Previous
Page 1 of 2
Next