
Constructor
UK
/kənˈstrʌk.tə/
US
/kənˈstrʌk.tɚ/

Translation constructor into russian
constructor
NounUK
/kənˈstrʌk.tə/
US
/kənˈstrʌk.tɚ/
The child played with a Lego constructor.
Ребёнок играл с конструктором Лего.
Definitions
constructor
NounUK
/kənˈstrʌk.tə/
US
/kənˈstrʌk.tɚ/
A person or company that builds or creates something, especially buildings or other structures.
The constructor was responsible for the new bridge that connected the two towns.
In computer programming, a special method used to initialize objects of a class.
The constructor in the class ensures that all objects are initialized with default values.
Idioms and phrases
class constructor
The class constructor initializes the object with default values.
конструктор класса
Конструктор класса инициализирует объект значениями по умолчанию.
default constructor
A default constructor is automatically created if no constructors are defined.
конструктор по умолчанию
Конструктор по умолчанию создается автоматически, если не определено ни одного конструктора.
copy constructor
The copy constructor creates a new object as a copy of an existing object.
конструктор копирования
Конструктор копирования создает новый объект как копию существующего объекта.
parameterized constructor
A parameterized constructor allows you to initialize an object with specific values.
параметризированный конструктор
Параметризированный конструктор позволяет инициализировать объект с определенными значениями.
constructor function
In JavaScript, a constructor function is used to create objects.
функция-конструктор
В JavaScript функция-конструктор используется для создания объектов.