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 Remote Stub?

1 Answers  


wahts is mean by dynavalidatorform in struts/

0 Answers   SolutionNET,


What are the diff types of exception?

0 Answers  


What are the ways to define classes that can be run as threads?

1 Answers   KPIT,


What is difference RMI registry and OSAgent?

1 Answers  






If we opened windows notepad 4 times, does it starts 4 processes or 4 threads?

1 Answers  


Will it be called overriding if I do not change the parameters or return type, instead throw a different exception in the method signature.

4 Answers   HeadStrong,


what is disadvantage of thread?

3 Answers   HCL,


Explain phantom read?

0 Answers  


Difference between hashmap and hashtable?

0 Answers  


Tell me about Firewalls in RMI?

0 Answers  


Why does the option tag render selected=selected instead of just selected?

0 Answers  


Categories