Object-oriented programming gains much of its versatility through polymorphism: objects of different kinds can behave in similar ways, given the right contexts.

 
  • 面向对象编程的多功能性有许多是通过多态性获得的,多态性是指:倘若有合适的上下文,不同类型的对象可以用类似的方式进行工作。
今日热词
目录 附录 查词历史