
what is need of daemon thread?

Daemon threads are the service providers for other threads running in the same process.They can run without user intervention. The JVM can exit when there are daemon thread by killing them abruptly.Any thread can be a daemon thread.
For more information, visit the following link:
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.