This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "User and Daemon Threads" Watch "User and Daemon Threads" New topic
Author

User and Daemon Threads

Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
15)
With respect to User and Daemon threads:

a) Daemon threads can not be grouped together

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

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

d) Running User threads prevent a JVM from terminating program

Correct answers should be
c.because only after user threads have finished executing then only JVM terminates program
d.should be correct because of the same reason stated above
Correct me if wrong .

SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: User and Daemon Threads
 
jQuery in Action, 3rd edition