I am carrying this over from the C board. I am an instructor who teaches programming. I have many test questions and test banks with questions. However, I was looking for some good test questions that you on the C++ programming board can provide me. I will share you mine If you will share yours.
Thanks. Let's begin
Code:Which is true?
A. A derived class may have more than base class.
B. A base class may have more than one derived class.
C. both (a) and (b)
D. neither (a) nor (b)
Answers will come later- Mr. C.Code:Select the format for inheriting multiple classes.
A. class Derived: public class Base1 : public class Base2
B. class Derived: public class Base1, Base2
C. class Derived: public Base1, public Base2
D. class Derived: (public Base1; public Base2;)