【单选题】假设已经定义好了一个类teacher,现在要定义类dteacher,它是从teacher保护派生的,定义正确的是()。 A. class teacher::teacher protected{…} B. class teacher::teacher public{…} C. class teacher:: protected teacher{…} D. class teacher::public teacher{…}
【单选题】假设已经定义好了一个类teacher,现在要定义类dteacher,它是从teacher保护派生的,定义正确的是()。 A. class teacher::teacher protected{…} B. class teacher::teacher public{…} C. class teacher:: protected teacher{…} D. class teacher::public teacher{…}
1