About Question enthuware.ocpjp.v7.2.1500 :
Posted: Sun Apr 14, 2013 2:17 pm
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..?
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..?