在如下继承层次下,当实例化有派生类对象时,调用构造函数的顺序为:class Base{…};class Base1: virtual Base{…};class Base2: virtual Base{…};class Derived : public Base2, public Base1{…};
A. Base(), Base2(), Base1(), Drived()
Base(), Base1(), Base(), Base2(), Drived()
C. Base(), Base2(), Base(), Base1(), Drived()
D. Base(), Base1(), Base2(), Drived()