title: What's the difference between user thread and daemon thread in java?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2213340/what-is-daemon-thread-in-java">What is Daemon thread in java</a><br>
    <a href="https://stackoverflow.com/questions/7067578/when-are-daemon-threads-useful">When are daemon threads useful?</a>  </p>
  </blockquote>
  
  
  
  <p>I am confused with the difference between user threads and daemon threads in Java.</p>
  
  <p>Can you tell me:</p>
  
  <ol>
  <li>What's the difference between user threads and daemon threads in Java?</li>
  <li>In which situation daemon thread will be used? Can you give me some examples?</li>
  </ol>