When you define a class that inherits from a base class, you sometimes want to redefine one or more of the base class elements in the derived class.

  • 当您定义从基类继承的类时,有时会需要重定义派生类中的一个或多个基类元素。
目录 查词历史