-6

Constructor ________ to allow different approaches of object construction.

  1. Cannot overload
  2. Can be overload
  3. Can be called
  4. Can be nested

1 Answers1

1

In GeeksForGeeks, overloading is defined to be "a feature in C++ where two or more functions can have the same name but different parameters." Constructor can be overloaded by allowing for same names and different parameters. For example, you can refer to this. Nesting functions is not supported by C++. Please refer to this link. Calling a constructor does nothing related to allowing different approaches of object construction.

Max Wong
  • 694
  • 10
  • 18
  • Sorry I didn't add anything new. I just did the research online and copy and paste examples from others. :) – Max Wong Mar 01 '19 at 04:48