File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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!