use of daemon thread in java

What is daemon thread? When would you use daemon thread?

Answer: A daemon thread in Java is a thread that runs in the background within same process. Daemon threads are like Service providers for other threads running in the same process. Daemon threads are used for background support task like handling request or events etc. and are only needed while normal threads are running. Daemon […]

Scroll to top