We can decide what information the class needs, and then define methods for functions to made the class objects behave as users would expect.

 
  • 我们可以决定类包含哪些我们需要的信息,并且为类的对象定义方法使得对象可以被用户期望那样操作。
今日热词
目录 附录 查词历史