O
AI-generated image

constructor

/kənˈstrʌktər/ noun · British & US
Valid in UKValid in US
Share WhatsApp

What does constructor mean?

A constructor is someone or something that constructs — that is, builds, assembles, or brings into existence. The word applies most naturally to people and firms engaged in building ships, aircraft, bridges, engines, and other engineered works, where precision and systematic design are central to the activity. In modern computing, the term has taken on a second life: in object-oriented languages such as Java, C++, and Python, a constructor is a special routine within a class that runs when a new object is created, initializing its data and preparing it for use. The word also describes those who compose intellectual artifacts, most notably crossword constructors, who design puzzles rather than buildings. Derived from the Latin construere, meaning "to pile together or build," the term shares roots with construction and structure. Neutral in tone and largely technical in register, constructor conveys competence and craftsmanship without emotional coloring.

noun

A person or thing that constructs something, such as a builder or maker of structures, machines, or systems. In computing, it is a special function in object-oriented programming that initializes a new object of a class.

Senses
  1. A person or company that constructs buildings, machines, vehicles, or other physical structures.
  2. In computing: a special method in object-oriented programming that creates and initializes an instance of a class.
  3. A person who devises or puts together puzzles, crosswords, or similar intellectual constructions.
Example

"The constructor oversaw every stage of the bridge's assembly, from foundation to final span."

More examples

"The aircraft constructor unveiled a prototype that promised to halve fuel consumption."

"In Python, the __init__ method acts as the class's constructor, setting up each new instance automatically."

"She is one of the most celebrated crossword constructors working today, with puzzles appearing in major national dailies."

Plural constructors

Standard plural; used both for multiple people who construct and for multiple initializing functions in code.

Example

"Several constructors bid on the project, each proposing a different design approach."

Did you know?

Every time you write 'new' in C++ or Java, an invisible machine called a constructor quietly builds your object — piece by piece — before you ever touch it.

Reviewed by Deb Chak, Editor. AI-assisted content curated by RJS Tech Solutions LLP.

Etymology of constructor

Constructor derives from Latin construere, formed from com- ("together") and struere ("to pile up, build"), the same root that gives us structure and destruction. The noun entered English via Late Latin constructor ("builder") and French constructeur, becoming established in English usage around the early 17th century as builders, engineers, and makers of machines came to be described with this Latinate term. Its computing sense arose much later, in the mid-20th century, with the rise of object-oriented programming.

Related word forms

How constructor is actually used

"Constructor" is a neutral, often technical term. It appears frequently in engineering, manufacturing, software development, and puzzle-making contexts. It carries no strong positive or negative connotation. In British English it is somewhat less common than "builder" for construction workers; in American English it is more likely to appear in formal or industrial writing than in everyday speech.

Easily confused with constructor

contractor

A contractor is hired under contract to perform work (often subcontracting), whereas a constructor is the one who physically or technically builds or assembles something.

constructor vs. destructor (programming)

In object-oriented programming, a constructor initializes a new object while a 'destructor' cleans up and releases its resources when the object is destroyed.

What's another word for constructor?

Words and phrases paired with constructor

default constructorcopy constructorclass constructorship constructor

What's the opposite of constructor?

Rhymes with constructor