Each class controls access to the members it defines. A derived class may further restrict but may not loosen the access to the members that it inherits.

 
  • 每个类控制它所定义的成员的访问。派生类可以进一步限制但不能放松对所继承的成员的访问。
今日热词
目录 附录 查词历史