4006279 发表于 2012-09-06 10:29

求解 下列哪个演示了多态的关系?

Choice 1   
A class and all classes that make reference to that class
Choice 2   
An object obtaining encapsulated member data from another object through access methods
Choice 3   
A class manipulating public data in another class
Choice 4   
A virtual base class and all of its subclasses
Choice 5   
The collection of all classes available in a class library


选择1   一个类 所有的类都引用这个类  
选择2   一个对象 获取封装成员数据从另一个对象 通过访问方法  
选择3   一个类操纵另一个类的公共数据  
选择4   一个虚拟的基类和 它所有的子类  
选择5   所有可用的集合类在类库

_Rayx 发表于 2012-09-06 17:17

这是C++的吧,连虚基类都来了!!!
页: [1]
查看完整版本: 求解 下列哪个演示了多态的关系?