constructor

US /kənˈstrʌk.t̬ɚ/
UK /kənˈstrʌk.t̬ɚ/
"constructor" picture
1.

constructor, contratista

a person or company that builds or constructs something, especially a building or road.

:
The constructor completed the new bridge ahead of schedule.
El constructor completó el nuevo puente antes de lo previsto.
We hired a local constructor for our home renovation.
Contratamos a un constructor local para la renovación de nuestra casa.
2.

constructor

a special method, in object-oriented programming, for creating and initializing an object.

:
In Java, the constructor is called when a new object is instantiated.
En Java, el constructor se llama cuando se instancia un nuevo objeto.
Every class in C++ has at least one constructor, even if it's implicitly defined.
Cada clase en C++ tiene al menos un constructor, incluso si está definido implícitamente.