单项选择题
下面是类Shape的定义: class Shape{ public: virtual void Draw()=0; }; 下列关于Shape类的描述中,正确的是()
A.类Shape是虚基类 B.类Shape是抽象类 C.类Shape中的Draw函数声明有误 D.语句“Shape s;”能够建立Shape的一个对象s
A.类Person是类Undergraduate的基类 B.类Undergraduate从类Student公有继承 C.类Student是类Person的派生类 D.类Undergraduate是类Person的派生类
A.无输出 B.1 C.11 D.111