袁辉勇 5=30 继承 4== protected: int z;
class test2:private test
main()函数 换个类 test
***********************************************************************
class test2:protected test
***********************************************************************
class test2:public test
C++ 文章被收录于专栏
C++谭浩强 冯博强 贾应知 袁辉勇
文远知行公司福利 563人发布