有如下程序: #include<iostream> using namespace std; class GA{ public: virtual int f(){return 1;} }; class GB:public GA{ public: virtual int f(){return 2;} }; void show(GA g){eout<<g.f();} void display(GA&g){cout<<g.f();} int main(){ GA a;show(A) ;display(A) ; GB b;show(B) ;display(B) ; return 0; } 程序的输出结果是
A. 1111
B. 1211
C. 1112
D. 1212
查看答案
Why are the London taxi drivers very efficient?
A. Because they have a driving license.
Because they have received special training.
C. Because the traffic conditions in London are good.
D. Because the traffic system of the city is not very complex.
约公元前3000年左右,苏美尔开始出现城市国家,先后出现的重要城市国家里不包括乌尔。()
A. 正确
B. 错误
在桃山、江户时代,出现的绞缬染法成为染指工艺的主流,并与绘饰、刺绣等手法并用,形成异彩纷呈的肌理效果。()
A. 正确
B. 错误
婆罗门教源于吠陀教公元前7世纪形成,信仰多神,突出三神。()
A. 正确
B. 错误