A. deduction from the balance per depositor's records
B. addition to the balance per bank statement
C. deduction from the balance per bank statement
D. addition to the balance per depositor's records
第1题:
有如下类的声明: class Base{ protected: int amount; public: Base(int n=0):amount(n){} int getAmount()const{return amount;} }; class Derived:public Base{ protected: int value public: Derived(int m,int n):value(m),Base(n){} int getData()const{return value+amount;} };已知x是一个Derived对象,则下列表达式中正确的是
A.x. value+x. getAmount()
B.x. getData()-x. getAmount()
C.x. getData()-x. amount
D.x. value+x. amount
第2题:
有如下类声明: class Base{ protected: int amount; public: Base(int n=0):amount(n){} int getAmountconst{retum amount;} }; class Derived:public Base{ protected: int value; public: Derived(int m,int n):value(m),Base(n){} int getDataconst{return value+amount;} }: 已知x是一个Derived对象,则下列表达式中正确的是( )。
A.x.value+X.getAmount
B.x.getData一x.getAmount
C.x.getData一x.amount
D.x.value+X.amount
第3题:
A.www.bank-of-chinA.com.cn
B.www.bank-of-chinA.com
C.www.bankofchinA.com
D.www.bank_of_chinA.com
第4题:
有如下程序: #include<iostream> using namespace std; class Amount{ int amount; public: Amount(int n=0):amount(n){} int getAmount()const{return amount;} Amount&operator9=(Amount a){ amount+=a. amount; return______; } }; int main(){ Amount x(3),y(7); x+=y, cout<<x. getAmount()<<endl; return 0; }已知程序的运行结果是10,则下划线处缺失的表达式是
A.* this
B.this
C.&amount
D.amount
第5题:
有下列程序: #include<iostream> Using namespace std; Class Amount{ int amount; public; Amount(int n=O):amount(n){} Int getAmount()const{return amount;} Amount &operator+=(AmountA) {
A.*this
B.this
C.&amount
D.amount
第6题:
8、CPU执行“MOV PSW,#38H”后,当前工作寄存器组()。
A.保持不变
B.切换到BANK0
C.切换到BANK1
D.切换到BANK2
E.切换到BANK3