0
The ambiguity of defining constructor' name đđ
What's the point of defining a constructor method's name just like the name of the class.? and can we do the instantiation process just like this : Demo (type of the object) x; x.new constructor(name of the constructor method);
2 Answers
+ 1
In which language are you coding?
+ 1
In general, the point is that the constructor is called automatically at the instantiation of the object...