1)removing the second call of setDaemon and running it
2)do 1) and add a System.out.println("My Daemon"); or any random task
This will tell you a bit further about daemon thread execution.

Moderator: admin
Users browsing this forum: No registered users and 4 guests