what is deamon thread?
Printable View
what is deamon thread?
Daemon thread :
Are service providers for other threads running in the same process.
Thread that works in the background to support the runtime environment are called Daemon Thread:"
Runs continuously in background.
To Specify the thread is a Daemon thread call setDaemon() with argument true.
To determins thread is Daemon thread use isDaemon().
setDaemon() must be called before the thread start().
daemon thread is a thread only whi runs by jvm in the background like garbagecollection etc