what is a Daemon Thread?

Answers were Sorted based on User's Feedback



what is a Daemon Thread?..

Answer / guest

Threads that work in the background to support the runtime
environment are called daemon threads. For example, the
clock handler thread, the idle thread, the screen updater
thread, and the garbage collector thread are all daemon
threads. The virtual machine exits whenever all non-daemon
threads have completed. The daemon threads are then all
automatically stopped when the JVM shuts down.

Is This Answer Correct ?    12 Yes 0 No

what is a Daemon Thread?..

Answer / sachin kumar

The Threads those gets automatically stopped when Java
virtual machine gets off, are called Daemon Threads.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What’s jboss cache in short?

0 Answers  


What is the difference between static and non-static with examples?

0 Answers   HCL,


Why does the tag url-encode javascript and mailto links?

0 Answers  


Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


How to pass parameters in RMI?

0 Answers  






Explain the stub's and skeleton's functionality?

7 Answers  


What is a sessionfactory? Is it a thread-safe object?

0 Answers  


whats is mean by filter?

1 Answers   SolutionNET,


what is JTS?

1 Answers  


Name the eight primitive java types.

0 Answers  


What is the use of Semaphore?

3 Answers  


what is the diffrence between banking and insurance domain?

2 Answers  


Categories