Add constructor

This commit is contained in:
Angelos Chalaris
2018-09-01 14:26:27 +03:00
parent 17751eb8d4
commit 7c85844ecd

4
glossary/Constructor.md Normal file
View File

@ -0,0 +1,4 @@
### Constructor
In class-based object-oriented programming, a constructor is a special type of function called to instantiate and object.
Constructors usually accept arguments that are in turn used to set the necessary member variables for the new object.