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

Explain what is orm?

681


Which component handles cluster communication in jboss?

630


Is it possible to stop the execution of a method before completion in a sessionbean?

604


Explain the steps in details to load the server object dynamically?

4548


What is the relationship between local interfaces and container-managed relationships?

596






Are enterprise beans allowed to use thread.sleep()?

652


Name three component subclasses that support painting?

620


Can I import same package/class twice? Will the jvm load the package twice at runtime?

649


Is there a guarantee of uniqueness for entity beans?

572


What is ripple effect?

638


If I wanted to use a solarisui for just a jtabbedpane, and the metal ui for everything else, how would I do that?

574


What is the purpose of the notify() method?

602


What is the form of storage space in java?

1744


What is RMI and what are the services in RMI?

614


What is the relationship between the canvas class and the graphics class?

544