title: What's the meaning of printing a thread instance in Java?
body: <p>For example, </p>
  
  <pre><code>System.out.println( Thread.currentThread() );
  </code></pre>
  
  <p>gives</p>
  
  <pre><code>Thread[main,5,main] 
  </code></pre>
  
  <p>What does [main,5,main] refer to? I am guessing perhaps one of them is the name, but I want to know what it all means precisely.</p>