Thread groups and daemon

Could anyone please explain me the use of thread groups.Also, could anyone explain me what is daemon and non-daemon threads and their use?thanks in advance.(I need to know it for the SUN certification exam.)
[243 byte] By [034163907] at [2007-9-26 1:26:25]
# 1
Could anyone please.....
034163907 at 2007-6-29 1:09:19 > top of Java-index,Archived Forums,Java Programming...
# 2

A deamon thread is one that works like any other thread while your program is running, but when all non-deamon threads are closed, the program closes. Thus, If I have 1 non-deamon thread and 100 deamon threads and I close the non-deamon thread, all 101 threads close. But if I have 2 non-deamon threads and I close one, the program still remains active. Does that help?

eugenebyrne at 2007-6-29 1:09:19 > top of Java-index,Archived Forums,Java Programming...
# 3
Also, for more info on this and thread groups, check the java tutorial http://java.sun.com/docs/books/tutorial/ and search for whatever you are looking for!Gene
eugenebyrne at 2007-6-29 1:09:19 > top of Java-index,Archived Forums,Java Programming...
# 4
could anyone tell me more about daemons?
034163907 at 2007-6-29 1:09:19 > top of Java-index,Archived Forums,Java Programming...