constructor

/kənˈstrʌk.tər/

B2 · Upper intermediateTechnologyCommon
Explore 20,000+ words in Discover Filter by topic and level, and save words with one tap. Sign up free

What does “constructor” mean?

  1. noun

    A person who builds or repairs things

    The constructor fixed the old porch and painted the house.

  2. noun

    In programming, a special function that creates and initializes an object of a class

    The constructor initializes all the fields when a new object is created.

Word forms

constructors

Often used as

  • the constructor function
  • a constructor method
  • the default constructor

Related words and nuances

  • builder
  • maker
  • engineer
  • craftsman
  • creator
  • author

Related words

Explore more words in Discover →