下列关于类的描述中,正确的是
A.基类具有派生类的特征
B.一个类只能有一个父类
C.“has a”关系表示类的继承机制
D.“is a”关系具有传递性
正确答案是D
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/240135.html
上一篇:According to Nathaniel Hawthome,"There is ______ in every human heart, which may remain latent, perhaps, through the whole life; but circumstances may rouse it to activity."
下一篇:一切写作活动都具有主体性。