Define deamon thread ?
In : MCA Subject : Advanced Java ProgrammingA daemon thread can be any Java thread.
Service providers for other threads running in the same process as the daemon thread are daemon threads.
The interpreter ends when daemon threads are the only ones left in a process.
This makes sense because there are no other threads for which a daemon thread can provide a service when only daemon threads remain.
Call the setDaemon method with the argument true to indicate that a thread is a daemon thread.
Use the accessor method isDaemon to see if a thread is a daemon thread.