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

Sumit Kesarwani

Total Post:782

Points:3910
Posted by  Sumit Kesarwani
Java 
 997  View(s)
Ratings:
Rate this:
  1. Sumit Kesarwani

    Post:782

    Points:3910
    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!