A friend told me that he bought a test exam from SUN and he saw some questions about daemons threads so i decided to study it too
And there are only two ideas about daemons i think that are necessary for the exam:
1. if setDaemon is invoked on an alive
thread then a runtime exception will occur
2. there are user threads an daemon threads and when all alive threads are daemons then the JVM can exit