Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Cpp Programming 66 – Which of the following functions are performed by a constructor?

Question: Which of the following functions are performed by a constructor?
[A]. Construct a new class
[B]. Construct a new object[C]. Construct a new function
[D]. Initialize objects

Answer: Option D