Update Constructor.md
This commit is contained in:
@ -1,4 +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.
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user