0
How constructor is useful for setting initial values for certain member variables?
2 odpowiedzi
+ 9
Constructors are called everytime when a new object is created . passing arguments you can initialize property in class.
0
Have you got to this part yet?
https://www.sololearn.com/learn/CPlusPlus/1715/