原文:Polymorphism and data hiding: Does a base class override or ignore a derived class access restrictions?
Please look at the following code listing: #include <iostream> using namespace std; class Base { public: virtual void Message() = 0; }; class Intermediate : public Base { }; class ...