go top

方法多态

网络释义

短语

多态方法 polymorphic methods

有道翻译

方法多态

Method polymorphism

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

双语例句

  • 由于所有位于对象中的对象都上溯它们类型方法多态使得只有运行时刻才能真正确定到底哪个对象方法执行

    Since all objects in the class pool are upcast to their common base class, the polymorphism of the method leads to that which object method will be executed can only be ascertained at runtime.

    youdao

  • 毕竟添加这种多态方法能力面向对象语言关键优势之一

    After all, the ability to add such polymorphic methods is one of the key advantages of an object-oriented language.

    youdao

  • Ruby中的多态被亲切地称为duck typing”(意思如果走起路来鸭子,叫起来也像鸭子那么一定是鸭子!),这种多态性只是对方法进行匹配的问题

    Affectionately known as "duck typing" (i.e., if it waddles like a duck and quacks like one, then it must be a duck!), polymorphism in Ruby is just a matter of matching method names.

    youdao

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

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

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