what is a Daemon Thread?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do I have to use jsps with my application?

581


Define the remote object implementation?

1999


Can I use multiple html form elements with the same name?

578


Why do threads block on i/o?

680


What are local interfaces? Describe.

697






Do we need to override service() method

1139


What is the difference between ear, jar and war file?

572


What is ripple effect?

634


What is the purpose of the finally clause of a try-catch-finally statement?

555


Can I use javascript to submit a form?

612


Why use a datasource when you can directly specify a connection details? (in a J2EE application)

3448


Which textcomponent method is used to set a textcomponent to the read-only state?

631


Can I run seam outside of jboss as?

638


Explain ioc concept?

623


what is handle?

1851