constructor

/kənˈstrʌktər/
noun
  1. A person or company that builds things, especially large structures like buildings, bridges, or roads.
    • She works as a constructor for a major engineering firm.
    • The bridge constructor used special materials to withstand earthquakes.
    • The constructor finished the new school ahead of schedule.
  2. In programming, a special method that is automatically called when an object of a class is created, used to set initial values.
    • The programmer wrote a constructor that sets the default name to 'Unknown'.
    • Every class in Java can have a constructor to initialize its variables.
    • If you don't define a constructor, the compiler provides a default one.
Antonyms
What does "constructor" mean? | whatsthatwordmean | whatsthatwordmean