To prevent exposing restricted items in a base class, the access type of a derived class must be equal to or more restrictive than its base class.

 
  • 若要防止公开基类中的受限项,派生类的访问类型必须与其基类一样或比其基类所受限制更多。
今日热词
目录 附录 查词历史