This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "demon thread" Watch "demon thread" New topic

demon thread

gaurav nayyar

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.
I agree. Here's the link:
subject: demon thread
Similar Threads
Demon and non-Demon Thread
demon thread
What is Demon thread and what is Green thread
Demon Thread