Thread interview questions:
- Why wait, notify and notifyAll is defined in Object Class and not on Thread class in Java
- How to implement Thread in Java
- What do you know about Concurrent interface in java.util package
- Checked and unchecked exceptions
- Difference between wait, sleep, yield in Java
- Why wait and notify requires to be called from synchronized blocks
- What is race condition
- Can you write Produce Consument problem
- Can you write Blocking Queue example
- What is deadlock and how to avoid it
- Difference between Thread and Runnable in Java
- volatile keyword in Java
- What is double check locking pattern
- The Executor framework example
Brak komentarzy:
Prześlij komentarz