, . - .
Daemon, , .
, , ..
, , . , main - void, .: D
But without delaying the penalty, if you create one or more user threads that run for a long time, and you do not use the method join()in your method main, then even if the main method ends, other threads are still executed if their method has run()not stopped execution.
source
share