What is the meaning of the word "constructor"?

Definitions:

  1. a subroutine that creates a new instance of a class in an object oriented programming language copy to clipboard noun
    • Java's Socket constructor can take, among other things, a host and a port. copy to clipboard

Synonyms: