(30 )下列代码声明了 3 个类class Person{};class Student:public Person{};class Undergraduat
(30 )下列代码声明了 3 个类
class Person{};
class Student:public Person{};
class Undergraduate:Student{};
下列关于这些类之间关系的描述中,错误的是
A )类 Person 是类 Undergraduate 的基类
B )类 Undergraduate 从类 Student 公有继承
C )类 Student 是类 Person 的派生类
D )类 Undergraduate 是类 Person 的派生类