File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Mock Exam Errata and the fly likes demon thread Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "demon thread" Watch "demon thread" New topic
Author

demon thread

gaurav nayyar
Greenhorn

Joined: Jul 13, 2001
Posts: 9

what is demon thread ??
how it is used ??
can anybody help me ??
is this in scjp2 course??
Alex Sbityakov
Ranch Hand

Joined: Jul 23, 2001
Posts: 49
LOL, demon threads
You mean Daemon Threads. These threads provides services for other threads. You can set one by calling setDaemon(true). One important thing to remember is that when all non-daemon threads end, the program exits whether or not there ar daemon threads running.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: demon thread
 
Similar Threads
Demon and non-Demon Thread
demon thread
Multithreading
What is Demon thread and what is Green thread
Demon Thread