This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Mock Exam Errata and the fly likes Valentin's, Question 4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Valentin Watch "Valentin New topic
Author

Valentin's, Question 4

Steve Lovelace
Ranch Hand

Joined: Sep 03, 2003
Posts: 125
The question wants the following answer to be checked true:
The garbage collection thread cannot outlive the last user thread.
As I understand things, it will ALWAYS outlive the last user thread (though only by a hair). This is actually implied by the opening lines of the explanation to the question
The garbage collection thread is a deamon thread. The latter die when there are no more users threads running.
In other words, they die AFTER the last user thread dies.


The Inner that is named is not the true Inner.
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Thank you for pointing this out. You get credit for this one
I have changed the option to be
The garbage collection thread will die just after the last user thread dies.
I hope this clears your doubt.


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Valentin's, Question 4