摘要: 多态实例 ~~~c++ #include using namespace std; class Human { public: virtual void toilet() = 0; }; class Man :public Human { void toilet() { cout toilet(); 阅读全文
posted @ 2023-05-22 23:10 许七安gyg 阅读(4) 评论(0) 推荐(0)