Java
Programming and Technical
Q. Briefly explain daemon thread.
A. Daemon thread is a low priority thread which runs in the background performs garbage collection operation for the java runtime system
Read Solution (Total 2)
-
- Daemon threads are basically a low priority threads, which one is running until the JVM is come to end. The functionalities of this kind of threads is do house keeping works, garbage collections, like a small operations. While we running a Java program surely there is one main thread and one or more daemon thread will be run.
Reply With Quote - 10 years agoHelpfull: Yes(2) No(0)
- daemon thread is also called as a GC,it is running in background,it clears the memory allocated by the users.
- 10 years agoHelpfull: Yes(0) No(0)
Java Other Question