0% found this document useful (0 votes)
43 views1 page

Java Threading Concepts and Issues

The document discusses various Java programming concepts related to threads including synchronization, deadlocks, garbage collection, file reading and writing, inter-thread communication, polling, volatile, wait, notify, and notifyAll methods.

Uploaded by

Afia Sultana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views1 page

Java Threading Concepts and Issues

The document discusses various Java programming concepts related to threads including synchronization, deadlocks, garbage collection, file reading and writing, inter-thread communication, polling, volatile, wait, notify, and notifyAll methods.

Uploaded by

Afia Sultana
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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?

You might also like