0
can someone explain what arw constructors and what is its use
3 Réponses
+ 4
A constructor is kind of like a function that is called when the object of that class is created. It's similar to a destructor which is called when an object is destroyed.
+ 6
It is usually used to initialize the classes variables with a value
0
what is it's use