Files
30-seconds-of-code/glossary/Constructor.md
2019-08-13 11:19:29 +03:00

8 lines
252 B
Markdown

---
title: Constructor
tags: 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.