File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes 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 "Threads" Watch "Threads" New topic
Author

Threads

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
This is IBM mock ..
This is a multiple choice question, the only answers I am pretty positive are B and E, but what about other choice like A and D.
I don't have a clue whether they are correct.
Plz shed some lights on, Java experts.
With respect to User and Daemon threads, which are true?
a) Daemon threads can not be destroyed
b) Running User threads prevent a JVM from terminating program
c) Running Daemon threads prevent a Java VM from terminating program
d) Daemon threads can not be grouped together
e) The JVM can terminate program when only daemon threads are running
Wali
Ankur Gupta
Ranch Hand

Joined: Jun 13, 2000
Posts: 66
Wali,
see if reading this article helps : http://www.absolutejava.com/articles/beware-the-daemons.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Threads