Is this the way Constructor in Java allocates memory?
<p>Default constructor is automatically called after an object is created.</p>

<p>But in Java when we allocate memory using new operator i.e. <code>classname obj = new classname();</code>  the constructor is automatically invoked <strong>before new allocates memory</strong> to the class member's.</p>

<p>The allocation starts after the class comes into physical existence but if new operator completes its process after default constructor is called, then how default constructor actually do so as the class has not come into physical existence?</p>

<p>Can someone explain me the same using a clear example?</p>
