constructor

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

Translations

constructornoun
constructors
pl
UK
/kənˈstrʌk.tə/
US
/kənˈstrʌk.tɚ/
The child played with a Lego constructor.
Ребёнок играл с конструктором Лего.
Additional translations
constructoradjective
UK
/kənˈstrʌktə/
US
/kənˈstrʌktɚ/
Used attributively to modify nouns, especially in programming contexts (e.g., "constructor function").

Definitions

constructornoun
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.
constructoradjective
Relating to or designating a constructor, especially one in computer programming.
In JavaScript, a constructor function offers a convenient way to create multiple similar objects.