Life in Cloud computing.
例 6:繼承模式
class CA{ public: int a; protected: int b; private: int c; }; class CB: public CA{ public: int x; protected: int y; private: int z; }; class CC: CB{ ... };
class CB{ public: int a, x; protected: int b, y; private: int z; };
class CB{ public: int x; protected: int a, b, y; private: int z; };
class CB{ public: int x; protected: int y; private: int a, b, z; };