What r daemon/non-daemon threads?
In complete reference,it is written that main
thread should be the last thread to finish,so use join(),but elsewhere it is written that JVM exits only when all non-daemon threads are dead.
I had a program where main thread throws an exception,and the thread it creates finishes quite later,but creates all the expected output.Then condition of complete ref. is not satisfied.
I think i have the concepts wrong.
Can u help me,
thanx in advance,
best regards

leena
