go top

virtual method

  • 虚方法:在面向对象编程中,虚方法是一种可以在派生类中被重写的方法。它允许子类根据需要提供自己的实现,从而实现多态。

网络释义

  虚方法

其实从这里,我们其实已经可以看出抽象方法(abstract method)和虚方法virtual method)的区别了。其实抽象方法是一种隐式的虚方法,只是它的特点是只能在抽象方法中出现和不需要实现具体的方法内容。

基于274个网页-相关网页

  虚拟方法

虚拟方法virtual method)指的是如果子类中有method覆盖了父类中的method,在用父类引用调用该方法时自动调用子类中的方法;在需要调用子类实例的个性化方...

基于198个网页-相关网页

  虚拟办法

所不同的是,在tmyclass中,one办法前面多了一个virtual关键字,表示这个办法是一个虚拟办法(virtual method)。而在tnewclass中,one办法前面多了一个override关键字,硎靖梅椒ń?

基于16个网页-相关网页

短语

virtual method table 虚拟方法表 ; 表格 ; 虚拟方法表格 ; 虚方法表

Explicit virtual method 显式虚方法

Virtual Method Invocation 虚方法调用

pure virtual method 纯虚方法

private virtual method 私有的方法

Virtual method invoking 方法调用

virtual method dispatch 利用一种称为虚拟方法调度

VMT Virtual Method Table 虚拟方法表

virtual telecommunication access method 虚拟远程通信访问法 ; [通信] 虚拟远程通信存取法 ; 虚拟通信接入法

 更多收起网络短语

双语例句权威例句

  • Your program tried to execute an abstract virtual method.

    程序运行一个抽象虚拟方法。

    youdao

  • In the design of wrappers, we combine the data warehouse method and the virtual method.

    包装设计中,采用了将数据仓库方法虚拟方法相结合的技术思想。

    youdao

  • Converting a virtual method call to a direct method call is called monomorphic call transformation.

    方法调用转换成直接方法调用,叫做单形monomorphic调用变换

    youdao

更多双语例句
  • The SBA should consider helping legitimize virtual work by showing off various models of how to work more efficiently and productively via the virtual method.

    FORBES: The New World Of Work: Time To Think Virtually

  • The P835 also enables users to switch between 12-key, half-Qwerty and full-Qwerty virtual keyboard modes, allowing them to choose an input method that best suits their current task.

    ENGADGET: ASUS gets official with P835 WVGA smartphone

  • He is the Founding Director of Pink Army Cooperative a colorful name for the virtual collaborative of scientists who network and share strategies about how to develop therapies in a more open source method than the current corporate approach of the big pharmaceutical companies.

    FORBES: The Promise of Syn Bio (version 5.0)

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

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

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