The second reason for access control is to allow the library designer to change the internal workings of the class without worrying about how it will affect the client programmer.

 
  • 第二个原因是允许类库设计人员能在不打搅客户程序员的情况下修改类的内部工作方式。
今日热词
目录 附录 查词历史