Assume the C++ definition : class circle : public point Which of the following is false?
Assume the C++ definition : class circle : public point
Which of the following is false?
Show answerHide answer
Correct answer: (D) All the public and protected members of class 'circle' are inherited as public and protected members, respectively, into class 'point'.
Explanation
Inheritance flows from the base class to the derived class. The public and protected members of point are inherited into circle, not the other way round, so statement D is false.