go top

overload method

  • 重载方法:在编程中,重载方法是指在同一个类中,方法名相同但参数列表不同的多个方法。这些方法可以根据传入的参数类型和数量自动调用相应的实现。

网络释义

  重载方法

3.5.4 重载方法(Overloading Methods)

基于1个网页-相关网页

短语

See Overloading Methods 见重载方法

双语例句

  • In versions of XJConf for PHP prior to V. 0.2.0, these special overloading methods are not supported and attempts to use them will generate a fatal error in your PHP script.

    在V . 0.2.0版本以前,XJConf for PHP并不支持这些特殊的重载方法,并且尝试使用这些方法将使php脚本出现致命错误。

    youdao

  • Listing 4 illustrates using PHP overloading to invoke object and class methods.

    清单4展示如何使用php重载调用对象和类方法。

    youdao

  • Ambiguous overloading is a problem because method arguments may be of mixin type, allowing for situations in which two overloaded methods are applicable and neither is more specific.

    不明确的重载是个问题,因为方法参数可能是mixin类型,它允许两个已重载的方法可用并且这两个方法都不是比较特定的情况。

    youdao

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

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

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