A private field can only be accessed by methods in the class in which it is declared, but not in the subclasses.

 
  • 只有声明该字段的类中的方法才可以访问专用字段,该类子类中的方法是不能访问的。
今日热词
目录 附录 查词历史