This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes User and Daemon threads Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "User and Daemon threads" Watch "User and Daemon threads" New topic

User and Daemon threads

josephine chen
Ranch Hand

Joined: Oct 29, 2002
Posts: 216
With respect to User and Daemon threads:
a) Daemon threads can not be grouped together //f

b) Running Daemon threads prevent a Java VM from terminating program //t

c) The JVM can terminate program when only daemon threads are running //t

d) Daemon threads can not be destroyed //f

Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
B and C contradict each other. C is correct, B is not.

"I'm not back." - Bill Harding, Twister
I agree. Here's the link:
subject: User and Daemon threads
It's not a secret anymore!