Which constructor is called when you create a class objects array?
1
Expert's answer
2010-07-27T10:39:24-0400
The default constructor is always called. And you can not create an array of objects that have no default constructor. An exception is the initialization of STL arrays and explicit assignment of values of the array in the brackets. In these cases you can set initializing object and pass the parameters you want to its constructor.
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment