title: Demon threads continue to run after main exited and there is some non-daemon thread still running?
body: <p>I know that all Demon threads are terminated after main exits. But what if there is some non-daemon thread which continues to run after main exited? Does running of this non-daemon thread prevent all other daemon threads from terminating?</p>
  
  <p>Demon threads continue to run after main exited and there is some non-daemon thread still running?</p>