0
Why constructor cannot be consider as a member function.
2 odpowiedzi
+ 5
constructor is called when you initialize the class, while member function called after you initialize the class if not static
+ 1
Constructor executes when object is created.We don't need to call constructor to perform its execution.On other hand member method and member variable need to call them. :)