In computer science a constructor is a method called when an instance of a class is created, after the memory has been allocated. A constructor can also be used to refer to a tag to create an abstract data type in the Haskell programming language.
Table of contents |
2 Also see |
Example