Daemon thread in Java

Daemon thread in java: Daemon thread is a low priority thread providing services to the user thread. This thread runs in the background to perform tasks such as garbage collection. Major Properties: It cannot prevent the JVM from exiting when all the user threads finish their execution. JVM terminates itself […]