title: Difference between a daemon thread and a low priority thread
body: <p>Recently I was asked a question:</p>
  
  <blockquote>
    <p>We've got the <code>setPriority()</code> method to set a thread for low priority.
    Then why do we need a daemon thread. What's the difference between them?</p>
  </blockquote>
  
  <p>Does marking a thread as daemon change its scheduling?</p>