When we access “this \ Me” in the constructor of any class, how is it that “this” is already available while its yet getting constructed? Has a temporary creation of the instance already happened before the constructor call? If so then does this mean these Constructors are called after the actual object initialisation?
Share
the object is created and the memory is allocated before you initialize it with the constructor….
ex
1. you create the object;
2. you initialize it
these 2 steps are also done when you are doing this:
Edit:
in the constructor
thisgoes formyObject