摘要: class A { public: int x; protected: int y; private: int z; }; class B : public A { // x is public // y is protected // z is not accessible from B }; c 阅读全文
posted @ 2022-05-01 23:37 小kk_p 阅读(31) 评论(0) 推荐(0)