Java Multithreading Question and Answers
29. | What is the difference between yielding and sleeping? |
---|---|
|
|
30. | What’s new with the stop(), suspend() and resume() method? |
---|---|
The stop(), suspend() and resume() methods have been deprecated in JDK 1.2. | |
31. | How to stop a thread? |
---|---|
thread.stop | |
32. | What are daemon threads? |
---|---|
|
|