1.

What does not prevent JVM from terminating?(a) Process(b) Daemon Thread(c) User Thread(d) JVM Thread

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.


Discussion

No Comment Found

Related InterviewSolutions