正在加载图片...
411.什么要使用继承? class person( class employee private private char name[101 char name[101 Int age; int age; char sex: char sex char public department 20: void printo float salary; public void print(; 比较二个类4.1.1为什么要使用继承 ? class person{ private: char name[10]; int age; char sex; public: void print(); }; 比较二个类 class employee{ private: char name[10]; int age; char sex; char department[20]; float salary; public: void print(); }; 3
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有