title: When should you extend Thread in Java?
body: <p>I know the basics of multithreading. Moreover, I referred this answer by Mr. Jon Skeet <a href="https://stackoverflow.com/questions/541487/implements-runnable-vs-extends-thread/541506#541506">&quot;implements Runnable&quot; vs. &quot;extends Thread&quot;</a>.</p>
  
  <p>Here he said: </p>
  
  <blockquote>
    <p>You're not really specialising the thread's behaviour. You're just
    giving it something to run. (So use Runnable instead of Thread)</p>
  </blockquote>
  
  <p>So my question is:</p>
  
  <p><strong>In what scenario one would specialise a thread?</strong></p>
  
  <p><strong>When should you extend Thread in Java?</strong></p>
  
  <p>I would appreciate an answer with examples and codes.</p>
  
  <p>Thanks!!</p>