Why answer is false? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
4th Jul 2019, 9:44 AM
Priyanka♥️
6 Answers
+ 6
Constructors are called WHEN the object is created, not AFTER it was created. Constructors are used to initialize the classes.
5th Jul 2019, 12:01 AM
Kainatic [Mostly Inactive Now]
Kainatic [Mostly Inactive Now] - avatar
+ 7
Constructor is called during the creation of object. Not after the creation.
5th Jul 2019, 2:35 AM
Manoj
Manoj - avatar
+ 4
Constructors are called at the BEGINNING of creation of objects i.e. during the DECLARATION of objects
5th Jul 2019, 1:45 AM
Aditya
Aditya - avatar
+ 4
Because Sololearn says that the link you put is a page that does not exist (for me at least).
5th Jul 2019, 7:51 PM
CeePlusPlus
CeePlusPlus - avatar
+ 3
Constructor are called at object creation time not post creation object. 🤔
6th Jul 2019, 6:59 AM
Sanjay Kamath
Sanjay Kamath - avatar
+ 2
The constructor isn't called after object creation, it IS the object creation
4th Jul 2019, 9:48 AM
Airree
Airree - avatar