Object constructor
= Object constructor
= Constructor in object-oriented programming
{synonym}
An operation used when creating and initializing a <software class> instance. Construction should establish the <representation invariant> before ordinary clients can access the <software object>. <Class inheritance> and initialization order require care if construction invokes overridable <object methods> before subclass fields are initialized.