0

what is constructor

28th Jan 2017, 9:38 AM
million informations
million informations - avatar
2 ответов
+ 9
A function that gets triggered when an object is created (and belongs to the class)
28th Jan 2017, 9:43 AM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
A constructor is a main method or function which is called with a class to initializate objects
28th Jan 2017, 9:44 AM
Daniel
Daniel - avatar