title: if main method completes the execution, what happens to any long running thread?
body: <p>since <code>main()</code> runs on a thread. and as soon as the <code>main()</code> finishes, main-thread should stop. So if <code>main()</code> has invoked a long running thread which is yet to finish even after <code>main()</code> has done all the task. Since <code>main()</code> is returned, would the other threads be terminated? i guess no. but why?</p>
  
  <pre><code>public static void main(String[] s){    
      new LongRunningThread().start();
  }
  </code></pre>