Solved

Which of the Following Statements Is False

Question 20

Multiple Choice

Which of the following statements is false?


A) You can overload a classes constructors.
B) There is no mechanism in C++ for a constructor to call another constructor in the same class.
C) Just as a constructor can call a class's other member functions to perform tasks, C++11 allows constructors to call other constructors in the same class.
D) To overload a constructor, provide in the class definition a prototype for each version of the constructor, and provide a separate constructor definition for each overloaded version.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions