皮皮学,免费搜题
登录
搜题
【单选题】
有以下程序 #include <iostream> #include <string> using namespace std class base { private: char baseName[10] public: base () { strcpy(baseName,'Base') } virtual char *myName() { return baseName } char *className() { return baseName } } class Derived : public base { private: char derivedName[10] public: Derived() { strcpy(derivedName,'Derived') } char *myName() { return derivedName } char *className() { return derivedName } } void showPtr(base &p) { cout<<p.myName () <<' '<<p.className () } int main () { base bb Derived dd showPtr(dd) return 0 } 运行后的输出结果为
A.
Derived Base
B.
Base Base
C.
Derived Derived
D.
Base Derived
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
.
..
皮皮学刷刷变学霸
举一反三
【判断题】古代开店固定在一个地方做生意的称为“贾”
A.
正确
B.
错误
【简答题】(用合适形式填空)Quality is our best ____(commit) to our customers.
【单选题】通常发生在工作的计划阶段的人为差错是:
A.
失误
B.
遗忘
C.
错误
D.
违规
【单选题】Our goods ( ) best quality and lowest price.
A.
are
B.
with
C.
are of
D.
is of
【单选题】对B8轿车,左侧远光灯不亮,右侧正常。甲认为:可能是J519局部故障;乙认为:可能是左侧远光灯线路故障。以下说法正确的是:
A.
甲正确
B.
乙正确
C.
甲乙都不对
D.
都正确
【单选题】Quality is our best __________ to our customers.
A.
heritage
B.
storefront
C.
retailer
D.
commitment
【单选题】对B8轿车,左侧远光灯不亮,右侧正常。甲认为:可能是左侧远光灯自身故障;乙认为:可能是左侧远光灯线路故障。以下说法正确的是:
A.
甲正确
B.
乙正确
C.
甲乙都不对
D.
都正确
【单选题】以 “生活教育”为理念,创办中国化、平民化的幼稚园,建立生活教育理论体系的是( )。
A.
陈鹤琴
B.
张宗麟
C.
张雪门
D.
陶行知
【简答题】Quality is our best ______ (commit) to our customers.
【单选题】创立 “ 生活教育理论的是 ” ()
A.
杜威
B.
陶行知
C.
维果茨基
D.
陈鹤琴
相关题目: