Meaningless Drivel is fun!
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
JavaRanch » Java Forums » Certification » Mock Exam Errata
Bookmark "Valentin Watch "Valentin New topic

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

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.

[Blog] [Blogroll] [My Reviews] My Linked In
I agree. Here's the link:
subject: Valentin's, Question 4
It's not a secret anymore!