The answers for this question are contradictory.
One says, "A program ends when all non-daemon threads end - Yes, even if daemon threads are running"
and the other correct answer is: "A program ends when all threads end".
Surely "all threads" includes daemons, which the first answer said could still be running..?
About Question enthuware.ocpjp.v7.2.1500 :
Moderators: Site Manager, fjwalraven
-
- Posts: 23
- Joined: Sun Apr 14, 2013 10:37 am
- Contact:
-
- Site Admin
- Posts: 10388
- Joined: Fri Sep 10, 2010 9:26 pm
- Contact:
Re: About Question enthuware.ocpjp.v7.2.1500 :
It is true because daemon threads is a subset of all threads but your point is valid. It is making the question too ambiguous. It has now been fixed.
thank you for your feedback!
Paul.
thank you for your feedback!
Paul.
Who is online
Users browsing this forum: No registered users and 5 guests