About Question enthuware.ocpjp.v7.2.1532 :
Posted: Wed Jan 04, 2017 6:22 am
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.
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.
