当派生类的成员和基类成员名字相同时,派生类的成员屏蔽了对基类此成员的直接访问。
A derived-class member with the same name as a member of the base class hides direct access to the base-class member.
派生类无法直接调用基类中声明的事件。
Derived classes cannot directly invoke events that are declared within the base class.
如果一个类是从另一个类继承的,则派生类的用户可以使用基类的方法和成员,就如同这些成员是派生类的直接成员一样。
If a class inherits from another class, the methods and members of the base class are available to users of the derived class as if they were direct members of the derived class.
应用推荐