Daemon « Threads « Java






1.A thread must be marked as a daemon thread before it is started.
2.A daemon thread.
3.An application exits when there are no non-daemon threads running.
4.A live daemon thread does not prevent an application from exiting.