Hi all,
I came to know that in Java or c++, constructor is executed only after the allocation of space....
Then what does an implicit default constructor(in c++) or default constructor in Java does....?
If we explicitly define our constructor then the initialization will be done according to our needs!
But what does an implicit or default constructor do?
Does it initialize house keeping data which are invisible to the programmer?
Is the actual allocation of space done by new operator or any implicit things....?
Thank you...