【单选题】假设已经定义好了一个类teacher,现在要定义类dteacher,它是从teacher保护派生的,定义正确的是()。
A. class teacher::teacher protected{…} B. class teacher::teacher public{…} C. class teacher:: protected teacher{…} D. class teacher::public teacher{…}
A. class teacher::teacher protected{…} B. class teacher::teacher public{…} C. class teacher:: protected teacher{…} D. class teacher::public teacher{…}
举一反三
- The teacher said to the class, " Pay attention." THe teacher told ______________________
- In Chinese college class, a teacher may not criticize the students, but in the US college class, a teacher may.
- The teacher will provide a context and while the class is practicing, the teacher should monitor.
- The teacher the class with an assignment.
- Listening carefully to______ in class means less work later. A: what does the teacher say B: what the teacher says C: that the teacher says D: which the teacher says