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.
如果一个类是从另一个类继承的,则派生类的用户可以使用基类的方法和成员,就如同这些成员是派生类的直接成员一样。
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.
如果一个类是从另一个类继承的,则派生类的用户可以使用基类的方法和成员,就如同这些成员是派生类的直接成员一样。
应用推荐