This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Threads" Watch "Threads" New topic


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
Ankur Gupta
Ranch Hand

Joined: Jun 13, 2000
Posts: 66
see if reading this article helps :
I agree. Here's the link:
subject: Threads
It's not a secret anymore!