A、to buy,themselves
B、buying,them
C、bought,theirselves
D、buyed,theirs
第1题:
The price you quoted is so high that we () help ()this transaction.
A、can…to cancel
B、can't...canceling
C、can…canceling
D、can't…to cancel
第2题:
A.CAN 2.0A,CAN 2.0C
B.CAN 2.0C
C.CAN 2.0B,CAN 2.0C
D.CAN 2.0A,CAM 2.0B
第3题:
在下列基类的定义中,有无virtual修饰use成员函数的结果将不同,其原因是______。
当use( )为虚拟函数时的程序执行结果:
sizeof(A)=8
sized(B)=12
sizeof(C)=16
当use( )非虚拟函数时的程序执行结果:
sizeof(A)=4
sized(B)=8
sizeof(C)=12
源程序如下:
include<iostream.h>
class Grandad
{
public:
Grandad( ):money(10){}
int money;
virtual void use( ){}
};
class Father:public Grandad
{
public:
Father( ):money(100){}
int money;
void use( ){}
};
class Son:public Father
{
public:
Son( ):money(300){}
int money;
void use( ){}
};
void main(void)
{
Grandad A;Father B;Son C;
cout<<"sizeof(A)="<<sizeof(A)<<endl;
cout<<"sizeof(B)="<<sizeof(B)<<endl;
cout<<"sizeof(C)="<<sizeof(C)<<endl;
}
第4题:
Oneoftheusecasesinyourwebapplicationusesmanysession-scopedattributes.Attheendoftheusecase,youwanttoclearoutthissetofattributesfromthesessionobject.Assumethatthisstaticvariableholdsthissetofattributenames:201.privatestaticfinalSetUSE_CASE_ATTRS;202.static{203.USE_CASE_ATTRS.add("customerOID");204.USE_CASE_ATTRS.add("custMgrBean");205.USE_CASE_ATTRS.add("orderOID");206.USE_CASE_ATTRS.add("orderMgrBean");207.}Whichcodesnippetdeletestheseattributesfromthesessionobject?()
A.session.removeAll(USE_CASE_ATTRS);
B.for(Stringattr:USE_CASE_ATTRS){session.remove(attr);}
C.for(Stringattr:USE_CASE_ATTRS){session.removeAttribute(attr);}
D.for(Stringattr:USE_CASE_ATTRS){session.deleteAttribute(attr);}
E.session.deleteAllAttributes(USE_CASE_ATTRS);
第5题:
I was told you’d like to order some(物料)______in this port.
A.food
B.stores
C.provisions
D.things
第6题:
下面哪条语句,可以产生与下面程序相同的结果。 data invest; money=1000; do until(money gt 5000); Year+1; money+(money*0.10); end; run;
A.do while(money ge 5000);
B.do while(money =5000);
C.do while(money le 5000);
D.do while(money >5000);