title: Java: constructor does not return. But it does or is it?
body: <p>statement_1: whenever ones defines constructor of a class skip the return type i.e constructor does not return anything. So even it cannot be declared void.</p>
  
  <p>statement_2: But when <code>classname obj = new classname()</code> encountered JVM creates a object and <em>returns</em> a reference to the <code>obj</code> variable.</p>
  
  <p>Both these statements are true. Now i want to know how statement_2 is related to statement_1.</p>
  
  <p>my question is how <code>obj</code> is initialized if constructor does not return anything? means it does return something then it should have return type of class.</p>
  
  <pre><code>class Myclass{
                Myclass Myclass(){
                                     //return something of Myclass type 
                 }
  
  }
  </code></pre>
  
  <p>then <code>Myclass obj = new Myclass()</code> shouldn't it would have made more sense.</p>
  
  <p>Shed more light on the topic</p>