单选题
C++
题号 #2250898
下列关于继承方式的描述中,错误的是( )。
参考答案
D
答案解析
D。【解析】采用私有继承方式对。基类中私有成员在派生类中是不可访问的成员。
你可能感兴趣的试题
A.Deer&operator一一{int};
B.Decroperator一一(Decr&,int);
C.friendDeer&cperator一一(Deer&);
D.friendDeeroperacor一一(Deer&,int);
A.1
B.2
C.3
D.4