aspose file tools*
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
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