A special method or function that automatically runs when a new object is created, typically used to initialize the object's properties and set up its initial state. It's like a blueprint's instruction manual for building something.
From Latin 'construere' meaning 'to build together,' from 'con-' (together) + 'struere' (to build). The programming term emerged in the 1980s with object-oriented languages, describing methods that 'construct' or build new object instances.
Think of a constructor like the moment you're born - it's the automatic process that sets up your initial state (name, birthdate, parents) that happens exactly once when you come into existence. Every object needs this 'birth moment' to be properly initialized!
Complete word intelligence in one call. Free tier — 50 lookups/day.