7/4/2019 9:44:41 AM
Constructors are called WHEN the object is created, not AFTER it was created. Constructors are used to initialize the classes.
Constructor is called during the creation of object. Not after the creation.
Object creation has two steps
first the memory is allocated then the constructor is called.
Constructors are called at the BEGINNING of creation of objects
i.e. during the DECLARATION of objects
Because Sololearn says that the link you put is a page that does not exist (for me at least).
The constructor isn't called after object creation, it IS the object creation
Constructor are called at object creation time not post creation object. 🤔
Learn Playing. Play Learning
Send us a message