题目内容
(请给出正确答案)
[单选题]
类Teacher和Student是类Person的子类:Person p;Teacher t;Student s;//p,t and s are all non
A.编译时正确,但运行时错误
B.将构造一个Student对象
C.表达式是错误的
D.表达式是合法的
查看答案
如果结果不匹配,请 联系老师 获取答案
A.编译时正确,但运行时错误
B.将构造一个Student对象
C.表达式是错误的
D.表达式是合法的
EVA、PE类聚合物改性沥青混合料的废弃温度是()
A.165℃
B.175℃
C.185℃
D.195℃
The teacher treats the student ______ (就像自己的亲生孩子一样).
The teacher treats the student ______ (就像白己的亲生孩子一样).
A、A couple
B、Colleagues
C、Teacher and student
A.A teacher must be judged by people from other professions
B.A teacher must be judged by his or her education
C.A teacher must be judged by his or her colleagues
D.A teacher must be judged by his or her student test scores
A.advices
B.advice
C.advise
B、构造函数和析构函数均可以重载
C、已知类Student以及Student*p;在使用p=newStudent;时自动调用无参构造函数创建动态对象,在deleltep;时自动调用析构函数释放动态对象
D、构造函数和析构函数都可以成为虚函数