Dear Bindu! Hi!
U asked @ daemon & non-daemon thrds.
Well daemon thrds. are those thrds. which are invoked by the system and run in the background like services in Windows NT and Daemon processes in Unix.In
JAVA JVM always executes a thread known as green thread as the b/g process. So these are the b/g threads.
Non-daemon thrds. are invoked by the user or programmer.After executing it's task it will get died. So it run only in f/g.
If still confusion is there fill free to ask.
Dharmesh.