题海让大学四年没有难题
白天模式登陆

题目详情

单选题 The incorrect statement regarding the relationship between derived class objects and base class objects in the case of public inheritance mode is ( )

A. Derived class objects can be assigned to base class objects

B. Derived class objects can initialize base class references

C. Derived class objects can directly access the members inherited from their base classes

D. The address of a derived class object can be assigned to a pointer with base class type

C++语言程序设计课程封面

学科:C++语言程序设计

时间:2025-06-14 05:35:23

Copyright © 2022 津ICP备2021001502号