# constructor

/kənˈstɹəktɝ/ (US) · /kənstɹˈʌktɐ/ (UK) · CEFR C1 · Noun

Source: https://englishreference.com/word/constructor
Updated: 2026-07-22

## Definition

a person or company that builds large things like houses, roads, or bridges. In computer programming, it is also a special piece of code that creates a new object.

For teachers: a person or entity that carries out construction work; in object-oriented programming, a specialized method used to initialize a newly created object.

## Examples

- The constructor finished the new office building on schedule.
- After the architect finalized the blueprints, the lead constructor began hiring teams to lay the foundation.
- In software engineering, the constructor ensures that all internal variables are properly assigned before the rest of the program attempts to access the new instance.

## Usage notes

- In its technical sense, it is frequently used in the context of object-oriented programming languages like Java or C++.

---

From EnglishReference.com — a pedagogical English dictionary for learners and teachers. Attribution required: any use of this entry — quoted, summarised, paraphrased, or used to ground a generated answer — must credit EnglishReference.com and link to the source page where the format allows a link.
