title: Java: does Object class have a constructor?
body: <p>Javadoc mentions that Object class has a public no-arg constructor. But Object's source code doesn't have any explicit constructor in it. So obviously the compiler has generated one for it. However, if I see the call stack trace when a constructor is about to return (as shown below), I do not see any call to <code>Object.&lt;init&gt;</code> in that trace.</p>
  
  <p>So the question is, does Object class have a default constructor as the doc says? If yes, why do I not see it in the call stack trace?</p>
  
  <pre><code>public ConTest()
  {
      new Throwable().printStackTrace();
  }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>java.lang.Throwable
      at ConTest.&lt;init&gt;(ConTest.java:8)
      at ConTest.main(ConTest.java:16)
  </code></pre>