⚠ Switch to EXCALIDRAW VIEW in the MORE OPTIONS menu of this document. ⚠
Text Elements
class A { public: int a; protected: int b; private: int c; };
class B:public A { public: int a; protected: int b; 不可访问: int c; };
公有继承
保护继承
class B:protected A { protected: int a; int b; 不可访问: int c; };
class B:private A { private: int a; int b; 不可访问: int c; };
私有继承