Home > DeveloperSection > Interviews > What is daemon thread and which method is used to create the daemon thread?

Posted on    August-26-2014 12:05 AM

 Java Java 
 1 Answer(s)
  737  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Posted on    August-26-2014 12:00 AM

Daemon thread is a low priority thread which runs intermittently in the back ground doing the garbage collection operation for the java runtime system.setDaemon method is used to create a daemon thread.

Don't want to miss updates? Please click the below button!

Follow MindStick