0
What is a constructor and how it is called?
A constructor is a member function that has same name as class and it is called automatically when an object is created.
1 ответ
+ 9
Wow. Yeah. Correct. Absolutely.
A constructor is a member function that has same name as class and it is called automatically when an object is created.