Object knows what block of code it needs to call by looking through its inheritance tree.

 
  • 对象通过查看整个继承树知道它需要调用哪一个代码块。
今日热词
目录 附录 查词历史