Chapter 11: Problem 1
Mark the following statements as true or false. a. The constructor of a derived class can specify a call to the constructor of the base class in the heading of the function definition. b. The constructor of a derived class can specify a call to the constructor of the base class using the name of the class. c. Suppose that \(\mathbf{x}\) and \(\mathbf{y}\) are classes, one of the member variables of \(\mathbf{x}\) is an object of type \(y,\) and both classes have constructors. The constructor of \(x\) specifies a call to the constructor of \(y\) by using the object name of type \(y\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.