Files
30-seconds-of-code/glossary/Constructor.md
2018-09-02 22:17:59 +03:00

223 B

Constructor

In class-based object-oriented programming, a constructor is a special type of function called to instantiate an object. Constructors often accept arguments that are commonly used to set member properties.