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 is the diffrence between banking and insurance domain?

2 Answers  


What are the different methods of identifying an object?

0 Answers  


what is a Daemon Thread?

2 Answers  


Difference between DurableSubscription and non- DurableSubscription?

0 Answers  


Do I need to import javlang package any time? Why ?

0 Answers  






How to deploy Jar, War files in J2EE?

0 Answers   HCL,


types of exceptions

1 Answers  


Whats new with the stop(), suspend() and resume() methods in jdk 1.2?

0 Answers  


can we write implementation for a method with in another method?

3 Answers   Cap Gemini,


What is the immediate superclass of the applet class?

0 Answers  


Give me simple example of hibernate caching and explain the details of caching????? thanks in adv.

1 Answers  


What are the types of data passing mechanisams under JMS specification?

1 Answers  


Categories