go top

program to an interface

网络释义

  针对接口编程

本章站在OOD的角度,将继承看成实现OOD的强大手段,通过具体例子,说明针对接口编程(Program To An Interface)、混入类(Mix In Class)、基于角色的设计(Role-based Design)这三个与继承紧密相关的著名OOD技巧。

基于1个网页-相关网页

有道翻译

program to an interface

编程到接口

以上为机器翻译结果,长、整句建议使用 人工翻译 。

双语例句

  • Even if you program to an interface the implementation class still needs to be instantiated somewhere.

    即使您按接口编程,仍然需要在某个地方实例化实现类。

    youdao

  • The first principle is: "Program to an interface, not an implementation."

    第一条是:“面向接口编程,而非面向实现编程”。

    youdao

  • Program to an interface, not an implementation.

    面向接口编程,而不要面向实现编程。

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定