constructor

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

строитель, подрядчик

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

:
The constructor completed the new bridge ahead of schedule.
Строитель завершил новый мост досрочно.
We hired a local constructor for our home renovation.
Мы наняли местного строителя для ремонта нашего дома.
2.

конструктор

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.
В Java конструктор вызывается при создании нового объекта.
Every class in C++ has at least one constructor, even if it's implicitly defined.
Каждый класс в C++ имеет как минимум один конструктор, даже если он определен неявно.