Java programming problem (Sec-b, 53’rd)
1. Synchronization
2. Deadlock.
3. Garbage Collection.
4. Reading-writing Files.
5. why do we call join() in synchronization
6. How do some other thread explicitly notifies a running thread to come out ?
7. io
8. Inter thread communication (producer , consumer)
9. What is polling?
10. Volatile
11. notify() and notifyAll()
12. Why wait(), notify(), and notifyAll() methods are present in Object class instead of
Thread Class.
13. What’s the purpose of the join() method?
14. gc() method.
15. What is synchronized method and synchronized block? Which one should be
preferred?
16. Can you start a thread twice? Explain
17. What is Thread Scheduler and Time Slicing?
18. What is shutdown hook?
19. wait() and sleep() methods?