Meaning & use

constructor

noun·Advanced

A person or thing that builds something, or a special function that creates a new object in programming.

See it in a sentence

The bridge's constructor was praised for finishing the project ahead of schedule.

The class's constructor sets the initial values whenever a new object is created.

A note on using this word

In programming, "constructor" is a technical term for the method that initializes a new object.

Words with a similar meaning

builder

Choose a synonym to suit the sentence. Meanings can overlap without being identical.

Make it your own

Write a sentence using “constructor”, then compare your use with the examples above.

Your draft stays on this page and is not sent anywhere.