One interesting thing to check out is try messing with this code by
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.
About Question enthuware.ocpjp.v7.2.1532 :
Moderator: admin
-
- Posts: 97
- Joined: Wed Dec 28, 2016 9:00 am
- Contact:
Who is online
Users browsing this forum: Bing [Bot] and 160 guests