title: Why the out put of below code is Thread[main,5,main]
body: <pre><code>public class test1 {
      public static void main(String[] args) {
          // TODO Auto-generated method stub
          Thread t = Thread.currentThread();
          System.out.println(t);
      }
  }
  </code></pre>
  
  <p>Why the output of above code is - Thread[main,5,main] ?
  Please Explain</p>