下面的描述中表达错误的是()
(A)公有继承时基类中的public成员在派生类中仍是public的
(B)公有继承时基类中的private成员在派生类中仍是private的
(C)公有继承时基类中的protected成员在派生类中仍是protected的
(D)私有继承时基类中的public成员在派生类中是private的
查看解析
参考答案
继续答题:下一题


(A)公有继承时基类中的public成员在派生类中仍是public的
(B)公有继承时基类中的private成员在派生类中仍是private的
(C)公有继承时基类中的protected成员在派生类中仍是protected的
(D)私有继承时基类中的public成员在派生类中是private的