南开大学 / 面向对象程序设计
正确率:100%
下列程序段中具有相同值的是()。class Base{int b;}; class Base1:virtual public base{int b1;}; class Base2:virtual public base{int b2;}; class derived:public base1,base 2{int b3;}; derived d
A.d.b与d.base1::b
B.d.base1::b与d.base1::b1
C.d.b与d.b3
D.d.base2::b与d.base2::b2
参考答案: