class X{//A
int a,b;
public:
X(int aa,int bb) {a=aa; b=bb;}//B
}:
X x(2,3);//C
X y(4); //D
[单选题]下面程序段中的错误语句是 ______。 class M{ int i; public: void ~AA(int); AA *p; void AA(); void AA(int x){i=x;}; };A.AA *p;B.void ~AA(int);C.void AA(int);D.void AA(int x){i=x;};
[主观题]请指出下面程序中不合理的地方。C.lass A{public:A.(void) : m_nVar2(m_nVar1), m_nVar1(0), m_cVar3(0){m_cVar3 =3;}protected:int m_nVar1;int m_nVar2;const int m_cVar3;};
[单选题]写出下列程序段的输出结果( )。main(){int x=5; int y=10;printf("%d/n",x++); printf("%d/n",++y); }A.5 B.6 C.6 D.5 10 10 11 11
[单选题]下面程序段的执行结果是( )。 int x=10; for(;x;x--) { if(x%3) continue; printf("%d",x); }A.875421B.963C.741D.852
[单选题]下面程序段的输出结果是 class Base { int i; Base() { add(1); } void add(int v) { i+=v; } void print() { System.out.println(i); } } class Extension extends Base { Extension() { add(2); } void add(int v) { i+=v*2; } } public class Test { public static void main(St
[单选题]下面程序段的输出结果为 public class Test { int a,b; Test() { a=100; b=200; } Test(int x,int y) { a=x; b=y; } public static void main(String args[]) { Test bjl=new Test(12,45); System.out.println("a="+objl.a+" b="+Objl.B); Test Obj2=new Test(); System.out.pr
[单选题]下面程序段的输出结果为 public class Test { int a, b; Test() { a=100; b=200; } Test(int x,int y) { a=x; b=y; } public static void main(String args[]) { Test Obj1=new Test(12,45); System.out.println("a=+Obj1.a+" b="+Obj1.B) ; Test Obj2=new Test(); System.out.p
[单选题]指出下面错误的是( )。A.发汗力强的解表药,注意用量,不可过汗B.体虚多汗及热病后期津液亏耗者忌服发汗力强的解表药C.解表药入汤剂应久煎D.辛凉解表药发汗力较缓和,长于透解表热E.辛温解表药发汗力强,能发散风寒
[单选题]指出下面错误的是( )。A.茜草凉血止血B.蒲黄收敛止血C.艾叶温经止血D.仙鹤草凉血止血E.棕榈炭收敛止血
[单选题]指出下面错误的是( )。A.辛凉解表用于温病初起,不适宜配伍清热解毒药B.辛凉解表药主治风热咳嗽、麻疹不透、目赤多泪C.表证兼表虚者,配伍助阳、益气、养阴等扶正之品,扶正祛邪D.解表药是以发散表邪,解除表证为主要功效的药物E.久患疮痈、淋病及失血者,慎用解表药