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

Posted on    July-15-2011 12:30 AM

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

James Smith

Total Post:79

Posted on    July-15-2011 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