InterviewSolution
Saved Bookmarks
| 1. |
What does not prevent JVM from terminating?(a) Process(b) Daemon Thread(c) User Thread(d) JVM ThreadI have been asked this question in an international level competition.My question comes from Multithreading topic in chapter Multithreading of Java |
|
Answer» RIGHT option is (B) Daemon Thread For explanation: Daemon thread RUNS in the background and does not prevent JVM from terminating. Child of daemon thread is also daemon thread. |
|