+ 2
Is the constructor method executed upon initializing?
2 Answers
+ 1
No, constructor is called only when object is created
0
constructor's main goal is to create a memory for object in RAM, then initiate it with a value and then give it a name so that we can say that an object is created.