- 1
Can someone help me with the constructors?
3 Answers
+ 1
What did you not understand? Your question is vaguely formed.
+ 1
Without constructor you can not allocate a memory for a class that is instantiation.
Constructor is called only once for a particular object.
Constructor is used to initialize the instance readonly variables.
Constructor is similar as a method but constructor is called automatically, does not have any return type.
0
contructor is same like mathods but without return type, purpose is to intionaliz the object. and called when object is created.



