问题:
[单选题]设Derived类的基类是Base类,同时还包含了Component类的对象作为数据成员,在Derived类对象的构建过程中,三个不同类的构造函数的调用次序是
AComponent类,Base类,Derived类
BBase类,Derived类,Component类
CDerived类,Component类,Base类
DBase类,Component类,Derived类
Copyright © 2024 www.daanwo.com All Rights Reserved |