WHAT IS DAEMON THREAD AND WHICH METHOD IS USED TO CREATE THE DAEMON THREAD?

James Smith

Total Post:79

Points:395
Posted by  James Smith
Java 
 1137  View(s)
Ratings:
Rate this:
  1. James Smith

    Post:79

    Points:395
    What is daemon thread and which method is used to create the daemon thread?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!